Inherits td::td_api::InputStoryContent.
|
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 x265 codec and key frames added each second.
|
|
array< int32 > | added_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.
|
|
bool | is_animation_ |
| True, if the video has no sound.
|
|
|
static const std::int32_t | ID = -738542773 |
| Identifier uniquely determining a type of the object.
|
|
◆ inputStoryContentVideo() [1/2]
td::td_api::inputStoryContentVideo::inputStoryContentVideo |
( |
| ) |
|
◆ inputStoryContentVideo() [2/2]
td::td_api::inputStoryContentVideo::inputStoryContentVideo |
( |
object_ptr< InputFile > && |
video_, |
|
|
array< int32 > && |
added_sticker_file_ids_, |
|
|
double |
duration_, |
|
|
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 x265 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] | is_animation_ | True, if the video has no sound. |
◆ get_id()
std::int32_t td::td_api::inputStoryContentVideo::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::inputStoryContentVideo::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: