|
TDLib
|
Inherits Object.
A video to be sent.
Public Member Functions | |
| inputVideo () | |
| inputVideo (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_) | |
| 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. | |
| object_ptr< InputFile > | cover_ |
| Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages. | |
| int32 | duration_ |
| Duration of the video, in seconds. | |
| int32 | height_ |
| Video height. | |
| int32 | start_timestamp_ |
| Timestamp from which the video playing must start, in seconds. | |
| bool | supports_streaming_ |
| True, if the video is expected to be streamed. | |
| object_ptr< inputThumbnail > | thumbnail_ |
| Video thumbnail; pass null to skip thumbnail uploading. | |
| object_ptr< InputFile > | video_ |
| Video file to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender. | |
| int32 | width_ |
| Video width. | |
Static Public Attributes | |
| static const std::int32_t | ID = -102022197 |
| Identifier uniquely determining a type of the object. | |
| inputVideo | ( | ) |
A video to be sent.
| inputVideo | ( | 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_ ) |
A video to be sent.
| [in] | video_ | Video file 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. |
|
finalvirtual |