Inherits td::td_api::InputMessageContent.
|
| inputMessageVideo () |
|
| inputMessageVideo (object_ptr< InputFile > &&video_, object_ptr< inputThumbnail > &&thumbnail_, array< int32 > &&added_sticker_file_ids_, int32 duration_, int32 width_, int32 height_, bool supports_streaming_, object_ptr< formattedText > &&caption_, object_ptr< MessageSelfDestructType > &&self_destruct_type_, bool has_spoiler_) |
|
std::int32_t | get_id () const final |
|
void | store (TlStorerToString &s, const char *field_name) const final |
|
virtual void | store (TlStorerUnsafe &s) const |
|
virtual void | store (TlStorerCalcLength &s) const |
|
| TlObject ()=default |
|
| TlObject (const TlObject &)=delete |
|
TlObject & | operator= (const TlObject &)=delete |
|
| TlObject (TlObject &&)=default |
|
TlObject & | operator= (TlObject &&)=default |
|
virtual | ~TlObject ()=default |
|
|
object_ptr< InputFile > | video_ |
| Video to be sent.
|
|
object_ptr< inputThumbnail > | thumbnail_ |
| Video thumbnail; pass null to skip thumbnail uploading.
|
|
array< int32 > | added_sticker_file_ids_ |
| File identifiers of the stickers added to the video, if applicable.
|
|
int32 | duration_ |
| Duration of the video, in seconds.
|
|
int32 | width_ |
| Video width.
|
|
int32 | height_ |
| Video height.
|
|
bool | supports_streaming_ |
| True, if the video is supposed to be streamed.
|
|
object_ptr< formattedText > | caption_ |
| Video caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
|
|
object_ptr< MessageSelfDestructType > | self_destruct_type_ |
| Video self-destruct type; pass null if none; private chats only.
|
|
bool | has_spoiler_ |
| True, if the video preview must be covered by a spoiler animation; not supported in secret chats.
|
|
|
static const std::int32_t | ID = 1914220652 |
| Identifier uniquely determining a type of the object.
|
|
◆ inputMessageVideo() [1/2]
td::td_api::inputMessageVideo::inputMessageVideo |
( |
| ) |
|
◆ inputMessageVideo() [2/2]
A video message.
- Parameters
-
[in] | video_ | Video to be sent. |
[in] | thumbnail_ | Video thumbnail; pass null to skip thumbnail uploading. |
[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 supposed to be streamed. |
[in] | caption_ | Video caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters. |
[in] | self_destruct_type_ | Video self-destruct type; pass null if none; private chats only. |
[in] | has_spoiler_ | True, if the video preview must be covered by a spoiler animation; not supported in secret chats. |
◆ get_id()
std::int32_t td::td_api::inputMessageVideo::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::inputMessageVideo::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 td::TlObject.
The documentation for this class was generated from the following file: