TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
storyVideo () | |
storyVideo (double duration_, int32 width_, int32 height_, bool has_stickers_, bool is_animation_, object_ptr< minithumbnail > &&minithumbnail_, object_ptr< thumbnail > &&thumbnail_, int32 preload_prefix_size_, object_ptr< file > &&video_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
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 |
Public Attributes | |
double | duration_ |
Duration of the video, in seconds. | |
int32 | width_ |
Video width. | |
int32 | height_ |
Video height. | |
bool | has_stickers_ |
True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets. | |
bool | is_animation_ |
True, if the video has no sound. | |
object_ptr< minithumbnail > | minithumbnail_ |
Video minithumbnail; may be null. | |
object_ptr< thumbnail > | thumbnail_ |
Video thumbnail in JPEG or MPEG4 format; may be null. | |
int32 | preload_prefix_size_ |
Size of file prefix, which is supposed to be preloaded, in bytes. | |
object_ptr< file > | video_ |
File containing the video. | |
Static Public Attributes | |
static const std::int32_t | ID = 140020643 |
Identifier uniquely determining a type of the object. | |
Describes a video file sent in a story.
td::td_api::storyVideo::storyVideo | ( | ) |
Describes a video file sent in a story.
td::td_api::storyVideo::storyVideo | ( | double | duration_, |
int32 | width_, | ||
int32 | height_, | ||
bool | has_stickers_, | ||
bool | is_animation_, | ||
object_ptr< minithumbnail > && | minithumbnail_, | ||
object_ptr< thumbnail > && | thumbnail_, | ||
int32 | preload_prefix_size_, | ||
object_ptr< file > && | video_ | ||
) |
Describes a video file sent in a story.
[in] | duration_ | Duration of the video, in seconds. |
[in] | width_ | Video width. |
[in] | height_ | Video height. |
[in] | has_stickers_ | True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets. |
[in] | is_animation_ | True, if the video has no sound. |
[in] | minithumbnail_ | Video minithumbnail; may be null. |
[in] | thumbnail_ | Video thumbnail in JPEG or MPEG4 format; may be null. |
[in] | preload_prefix_size_ | Size of file prefix, which is supposed to be preloaded, in bytes. |
[in] | video_ | File containing the video. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.