tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messageVideo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messageVideo:
td::td_api::MessageContent td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< videovideo_
 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< photocover_
 Cover of the video; may be null if none.
 
int32 start_timestamp_
 Timestamp from which the video playing must start, in seconds.
 
object_ptr< formattedTextcaption_
 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.
 

Static Public Attributes

static const std::int32_t ID = 952522912
 Identifier uniquely determining a type of the object.
 

Detailed Description

A video message.

Definition at line 39214 of file td_api.h.

Constructor & Destructor Documentation

◆ messageVideo() [1/2]

td::td_api::messageVideo::messageVideo ( )

A video message.

◆ messageVideo() [2/2]

td::td_api::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_ 
)

A video message.

Parameters
[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.

Member Function Documentation

◆ 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ alternative_videos_

array<object_ptr<alternativeVideo> > td::td_api::messageVideo::alternative_videos_

Alternative qualities of the video.

Definition at line 39227 of file td_api.h.

◆ caption_

object_ptr<formattedText> td::td_api::messageVideo::caption_

Video caption.

Definition at line 39235 of file td_api.h.

◆ cover_

object_ptr<photo> td::td_api::messageVideo::cover_

Cover of the video; may be null if none.

Definition at line 39231 of file td_api.h.

◆ has_spoiler_

bool td::td_api::messageVideo::has_spoiler_

True, if the video preview must be covered by a spoiler animation.

Definition at line 39239 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageVideo::ID = 952522912
static

Identifier uniquely determining a type of the object.

Definition at line 39264 of file td_api.h.

◆ is_secret_

bool td::td_api::messageVideo::is_secret_

True, if the video thumbnail must be blurred and the video must be shown only while tapped.

Definition at line 39241 of file td_api.h.

◆ show_caption_above_media_

bool td::td_api::messageVideo::show_caption_above_media_

True, if the caption must be shown above the video; otherwise, the caption must be shown below the video.

Definition at line 39237 of file td_api.h.

◆ start_timestamp_

int32 td::td_api::messageVideo::start_timestamp_

Timestamp from which the video playing must start, in seconds.

Definition at line 39233 of file td_api.h.

◆ storyboards_

array<object_ptr<videoStoryboard> > td::td_api::messageVideo::storyboards_

Available storyboards for the video.

Definition at line 39229 of file td_api.h.

◆ video_

object_ptr<video> td::td_api::messageVideo::video_

The video description.

Definition at line 39225 of file td_api.h.


The documentation for this class was generated from the following file: