|
TDLib
|
Inherits InputStoryContent.
A video story.
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 TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| array< int32 > | added_sticker_file_ids_ |
| File identifiers of the stickers added to the video, if applicable. | |
| double | cover_frame_timestamp_ |
| Timestamp of the frame, which will be used as video thumbnail. | |
| double | duration_ |
| Precise duration of the video, in seconds; 0-60. | |
| bool | is_animation_ |
| True, if the video has no sound. | |
| object_ptr< InputFile > | 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = 3809243 |
| Identifier uniquely determining a type of the object. | |
| inputStoryContentVideo | ( | ) |
A video story.
| inputStoryContentVideo | ( | object_ptr< InputFile > && | video_, |
| array< int32 > && | added_sticker_file_ids_, | ||
| double | duration_, | ||
| double | cover_frame_timestamp_, | ||
| bool | is_animation_ ) |
A video story.
| [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. |
|
finalvirtual |