List of all members | Public Fields | Public Instance Methods | Static Public Attributes
inputMessageVideo Class Referencefinal

Inherits InputMessageContent.

Description

A video message.

Public Fields

object_ptr< InputFilevideo_
 Video to be sent.
 
object_ptr< inputThumbnailthumbnail_
 Video thumbnail; pass null to skip thumbnail uploading.
 
array< int32added_sticker_file_ids_
 File identifiers of the stickers added to the video, if applicable.
 
int32 duration_
 Duration of the video, in seconds.
 
int32 width_
 Video width.
 
int32 height_
 Video height.
 
bool supports_streaming_
 True, if the video is supposed to be streamed.
 
object_ptr< formattedTextcaption_
 Video caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
 
int32 ttl_
 Video TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats.
 

Public Instance Methods

 inputMessageVideo ()
 
 inputMessageVideo (object_ptr< InputFile > &&video_, object_ptr< inputThumbnail > &&thumbnail_, array< int32 > &&added_sticker_file_ids_, int32 duration_, int32 width_, int32 height_, bool supports_streaming_, object_ptr< formattedText > &&caption_, int32 ttl_)
 
std::int32_t get_id () const final
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inputMessageVideo() [1/2]

A video message.

◆ inputMessageVideo() [2/2]

inputMessageVideo ( object_ptr< InputFile > &&  video_,
object_ptr< inputThumbnail > &&  thumbnail_,
array< int32 > &&  added_sticker_file_ids_,
int32  duration_,
int32  width_,
int32  height_,
bool  supports_streaming_,
object_ptr< formattedText > &&  caption_,
int32  ttl_ 
)

A video message.

Parameters
[in]video_Video to be sent.
[in]thumbnail_Video thumbnail; pass null to skip thumbnail uploading.
[in]added_sticker_file_ids_File identifiers of the stickers added to the video, if applicable.
[in]duration_Duration of the video, in seconds.
[in]width_Video width.
[in]height_Video height.
[in]supports_streaming_True, if the video is supposed to be streamed.
[in]caption_Video caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
[in]ttl_Video TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void 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 TlObject.


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