Inherits MessageContent.
A video message.
Public Fields | |
object_ptr< video > | video_ |
The video description. | |
array< object_ptr< alternativeVideo > > | alternative_videos_ |
Alternative qualities of the video. | |
object_ptr< formattedText > | caption_ |
Video caption. | |
bool | show_caption_above_media_ |
True, if the caption must be shown above the video; otherwise, the caption must be shown below the video. | |
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. | |
Public Instance Methods | |
messageVideo () | |
messageVideo (object_ptr< video > &&video_, array< object_ptr< alternativeVideo >> &&alternative_videos_, object_ptr< formattedText > &&caption_, bool show_caption_above_media_, bool has_spoiler_, bool is_secret_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1307143860 |
Identifier uniquely determining a type of the object. | |
messageVideo | ( | ) |
A video message.
messageVideo | ( | object_ptr< video > && | video_, |
array< object_ptr< alternativeVideo >> && | alternative_videos_, | ||
object_ptr< formattedText > && | caption_, | ||
bool | show_caption_above_media_, | ||
bool | has_spoiler_, | ||
bool | is_secret_ | ||
) |
A video message.
[in] | video_ | The video description. |
[in] | alternative_videos_ | Alternative qualities of the video. |
[in] | caption_ | Video caption. |
[in] | show_caption_above_media_ | True, if the caption must be shown above the video; otherwise, the caption must be shown below the video. |
[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. |
|
finalvirtual |