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. | |
| array< object_ptr< videoStoryboard > > | storyboards_ |
| Available storyboards for the video. | |
| object_ptr< photo > | cover_ |
| Cover of the video; may be null if none. | |
| int32 | start_timestamp_ |
| Timestamp from which the video playing must start, in seconds. | |
| 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_, array< object_ptr< videoStoryboard >> &&storyboards_, object_ptr< photo > &&cover_, int32 start_timestamp_, 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 = 952522912 |
| Identifier uniquely determining a type of the object. | |
| messageVideo | ( | ) |
A video message.
| messageVideo | ( | object_ptr< video > && | video_, |
| array< object_ptr< alternativeVideo >> && | alternative_videos_, | ||
| array< object_ptr< videoStoryboard >> && | storyboards_, | ||
| object_ptr< photo > && | cover_, | ||
| int32 | start_timestamp_, | ||
| 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] | storyboards_ | Available storyboards for the video. |
| [in] | cover_ | Cover of the video; may be null if none. |
| [in] | start_timestamp_ | Timestamp from which the video playing must start, in seconds. |
| [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 |