Inherits td::td_api::MessageContent.
|
object_ptr< video > | video_ |
| The video description.
|
|
object_ptr< formattedText > | caption_ |
| Video caption.
|
|
bool | has_spoiler_ |
| True, if the video preview must be covered by a spoiler animation.
|
|
bool | is_secret_ |
| True, if the video thumbnail must be blurred and the video must be shown only while tapped.
|
|
|
static const std::int32_t | ID = -1237516229 |
| Identifier uniquely determining a type of the object.
|
|
◆ messageVideo() [1/2]
td::td_api::messageVideo::messageVideo |
( |
| ) |
|
◆ messageVideo() [2/2]
A video message.
- Parameters
-
[in] | video_ | The video description. |
[in] | caption_ | Video caption. |
[in] | has_spoiler_ | True, if the video preview must be covered by a spoiler animation. |
[in] | is_secret_ | True, if the video thumbnail must be blurred and the video must be shown only while tapped. |
◆ get_id()
std::int32_t td::td_api::messageVideo::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::messageVideo::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: