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

Inherits InputStoryContent.

Description

A video story.

Public Fields

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.
 

Public Instance Methods

 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 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 = 3809243
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ inputStoryContentVideo() [1/2]

A video story.

◆ inputStoryContentVideo() [2/2]

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.

Method Documentation

◆ 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: