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::inputMessageVideo Class Referencefinal

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

Inheritance diagram for td::td_api::inputMessageVideo:
td::td_api::InputMessageContent td::td_api::Object td::TlObject

Public Member Functions

 inputMessageVideo ()
 
 inputMessageVideo (object_ptr< InputFile > &&video_, object_ptr< inputThumbnail > &&thumbnail_, object_ptr< InputFile > &&cover_, int32 start_timestamp_, array< int32 > &&added_sticker_file_ids_, int32 duration_, int32 width_, int32 height_, bool supports_streaming_, object_ptr< formattedText > &&caption_, bool show_caption_above_media_, object_ptr< MessageSelfDestructType > &&self_destruct_type_, bool has_spoiler_)
 
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< InputFilevideo_
 Video to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender.
 
object_ptr< inputThumbnailthumbnail_
 Video thumbnail; pass null to skip thumbnail uploading.
 
object_ptr< InputFilecover_
 Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages.
 
int32 start_timestamp_
 Timestamp from which the video playing must start, in seconds.
 
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 expected to be streamed.
 
object_ptr< formattedTextcaption_
 Video caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
 
bool show_caption_above_media_
 True, if the caption must be shown above the video; otherwise, the caption must be shown below the video; not supported in secret chats.
 
object_ptr< MessageSelfDestructTypeself_destruct_type_
 Video self-destruct type; pass null if none; private chats only.
 
bool has_spoiler_
 True, if the video preview must be covered by a spoiler animation; not supported in secret chats.
 

Static Public Attributes

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

Detailed Description

A video message.

Definition at line 29358 of file td_api.h.

Constructor & Destructor Documentation

◆ inputMessageVideo() [1/2]

td::td_api::inputMessageVideo::inputMessageVideo ( )

A video message.

◆ inputMessageVideo() [2/2]

td::td_api::inputMessageVideo::inputMessageVideo ( object_ptr< InputFile > &&  video_,
object_ptr< inputThumbnail > &&  thumbnail_,
object_ptr< InputFile > &&  cover_,
int32  start_timestamp_,
array< int32 > &&  added_sticker_file_ids_,
int32  duration_,
int32  width_,
int32  height_,
bool  supports_streaming_,
object_ptr< formattedText > &&  caption_,
bool  show_caption_above_media_,
object_ptr< MessageSelfDestructType > &&  self_destruct_type_,
bool  has_spoiler_ 
)

A video message.

Parameters
[in]video_Video to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender.
[in]thumbnail_Video thumbnail; pass null to skip thumbnail uploading.
[in]cover_Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages.
[in]start_timestamp_Timestamp from which the video playing must start, in seconds.
[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 expected to be streamed.
[in]caption_Video caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
[in]show_caption_above_media_True, if the caption must be shown above the video; otherwise, the caption must be shown below the video; not supported in secret chats.
[in]self_destruct_type_Video self-destruct type; pass null if none; private chats only.
[in]has_spoiler_True, if the video preview must be covered by a spoiler animation; not supported in secret chats.

Member Function Documentation

◆ store()

void td::td_api::inputMessageVideo::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

◆ added_sticker_file_ids_

array<int32> td::td_api::inputMessageVideo::added_sticker_file_ids_

File identifiers of the stickers added to the video, if applicable.

Definition at line 29377 of file td_api.h.

◆ caption_

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

Video caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.

Definition at line 29387 of file td_api.h.

◆ cover_

object_ptr<InputFile> td::td_api::inputMessageVideo::cover_

Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages.

Definition at line 29373 of file td_api.h.

◆ duration_

int32 td::td_api::inputMessageVideo::duration_

Duration of the video, in seconds.

Definition at line 29379 of file td_api.h.

◆ has_spoiler_

bool td::td_api::inputMessageVideo::has_spoiler_

True, if the video preview must be covered by a spoiler animation; not supported in secret chats.

Definition at line 29393 of file td_api.h.

◆ height_

int32 td::td_api::inputMessageVideo::height_

Video height.

Definition at line 29383 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputMessageVideo::ID = -605958271
static

Identifier uniquely determining a type of the object.

Definition at line 29420 of file td_api.h.

◆ self_destruct_type_

object_ptr<MessageSelfDestructType> td::td_api::inputMessageVideo::self_destruct_type_

Video self-destruct type; pass null if none; private chats only.

Definition at line 29391 of file td_api.h.

◆ show_caption_above_media_

bool td::td_api::inputMessageVideo::show_caption_above_media_

True, if the caption must be shown above the video; otherwise, the caption must be shown below the video; not supported in secret chats.

Definition at line 29389 of file td_api.h.

◆ start_timestamp_

int32 td::td_api::inputMessageVideo::start_timestamp_

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

Definition at line 29375 of file td_api.h.

◆ supports_streaming_

bool td::td_api::inputMessageVideo::supports_streaming_

True, if the video is expected to be streamed.

Definition at line 29385 of file td_api.h.

◆ thumbnail_

object_ptr<inputThumbnail> td::td_api::inputMessageVideo::thumbnail_

Video thumbnail; pass null to skip thumbnail uploading.

Definition at line 29371 of file td_api.h.

◆ video_

object_ptr<InputFile> td::td_api::inputMessageVideo::video_

Video to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender.

Definition at line 29369 of file td_api.h.

◆ width_

int32 td::td_api::inputMessageVideo::width_

Video width.

Definition at line 29381 of file td_api.h.


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