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

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

Inheritance diagram for td::td_api::inputStoryContentVideo:
td::td_api::InputStoryContent td::td_api::Object td::TlObject

Public Member Functions

 inputStoryContentVideo ()
 
 inputStoryContentVideo (object_ptr< InputFile > &&video_, array< int32 > &&added_sticker_file_ids_, double duration_, double cover_frame_timestamp_, bool is_animation_)
 
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 size must be 720x1280. The video must be streamable and stored in MPEG4 format, after encoding with H.265 codec and key frames added each second.
 
array< int32added_sticker_file_ids_
 File identifiers of the stickers added to the video, if applicable.
 
double duration_
 Precise duration of the video, in seconds; 0-60.
 
double cover_frame_timestamp_
 Timestamp of the frame, which will be used as video thumbnail.
 
bool is_animation_
 True, if the video has no sound.
 

Static Public Attributes

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

Detailed Description

A video story.

Definition at line 32036 of file td_api.h.

Constructor & Destructor Documentation

◆ inputStoryContentVideo() [1/2]

td::td_api::inputStoryContentVideo::inputStoryContentVideo ( )

A video story.

◆ inputStoryContentVideo() [2/2]

td::td_api::inputStoryContentVideo::inputStoryContentVideo ( object_ptr< InputFile > &&  video_,
array< int32 > &&  added_sticker_file_ids_,
double  duration_,
double  cover_frame_timestamp_,
bool  is_animation_ 
)

A video story.

Parameters
[in]video_Video to be sent. The video size must be 720x1280. The video must be streamable and stored in MPEG4 format, after encoding with H.265 codec and key frames added each second.
[in]added_sticker_file_ids_File identifiers of the stickers added to the video, if applicable.
[in]duration_Precise duration of the video, in seconds; 0-60.
[in]cover_frame_timestamp_Timestamp of the frame, which will be used as video thumbnail.
[in]is_animation_True, if the video has no sound.

Member Function Documentation

◆ store()

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

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

Definition at line 32049 of file td_api.h.

◆ cover_frame_timestamp_

double td::td_api::inputStoryContentVideo::cover_frame_timestamp_

Timestamp of the frame, which will be used as video thumbnail.

Definition at line 32053 of file td_api.h.

◆ duration_

double td::td_api::inputStoryContentVideo::duration_

Precise duration of the video, in seconds; 0-60.

Definition at line 32051 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputStoryContentVideo::ID = 3809243
static

Identifier uniquely determining a type of the object.

Definition at line 32074 of file td_api.h.

◆ is_animation_

bool td::td_api::inputStoryContentVideo::is_animation_

True, if the video has no sound.

Definition at line 32055 of file td_api.h.

◆ video_

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

Video to be sent. The video size must be 720x1280. The video must be streamable and stored in MPEG4 format, after encoding with H.265 codec and key frames added each second.

Definition at line 32047 of file td_api.h.


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