Inherits Object.
|
|
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 const std::int32_t | ID = -102022197 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ inputVideo() [1/2]
◆ inputVideo() [2/2]
A video to be sent.
- Parameters
-
| [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. |
◆ 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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements TlObject.
The documentation for this class was generated from the following file: