|
TDLib
|
Inherits Object.
Describes a video file.
Public Member Functions | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| video () | |
| video (int32 duration_, int32 width_, int32 height_, string const &file_name_, string const &mime_type_, bool has_stickers_, bool supports_streaming_, object_ptr< minithumbnail > &&minithumbnail_, object_ptr< thumbnail > &&thumbnail_, object_ptr< file > &&video_) | |
| 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 | |
| int32 | duration_ |
| Duration of the video, in seconds; as defined by the sender. | |
| string | file_name_ |
| Original name of the file; as defined by the sender. | |
| bool | has_stickers_ |
| True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets. | |
| int32 | height_ |
| Video height; as defined by the sender. | |
| string | mime_type_ |
| MIME type of the file; as defined by the sender. | |
| object_ptr< minithumbnail > | minithumbnail_ |
| Video minithumbnail; may be null. | |
| bool | supports_streaming_ |
| True, if the video is expected to be streamed. | |
| object_ptr< thumbnail > | thumbnail_ |
| Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null. | |
| object_ptr< file > | video_ |
| File containing the video. | |
| int32 | width_ |
| Video width; as defined by the sender. | |
Static Public Attributes | |
| static const std::int32_t | ID = 832856268 |
| Identifier uniquely determining a type of the object. | |
| video | ( | ) |
Describes a video file.
| video | ( | int32 | duration_, |
| int32 | width_, | ||
| int32 | height_, | ||
| string const & | file_name_, | ||
| string const & | mime_type_, | ||
| bool | has_stickers_, | ||
| bool | supports_streaming_, | ||
| object_ptr< minithumbnail > && | minithumbnail_, | ||
| object_ptr< thumbnail > && | thumbnail_, | ||
| object_ptr< file > && | video_ ) |
Describes a video file.
| [in] | duration_ | Duration of the video, in seconds; as defined by the sender. |
| [in] | width_ | Video width; as defined by the sender. |
| [in] | height_ | Video height; as defined by the sender. |
| [in] | file_name_ | Original name of the file; as defined by the sender. |
| [in] | mime_type_ | MIME type of the file; as defined by the sender. |
| [in] | has_stickers_ | True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets. |
| [in] | supports_streaming_ | True, if the video is expected to be streamed. |
| [in] | minithumbnail_ | Video minithumbnail; may be null. |
| [in] | thumbnail_ | Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null. |
| [in] | video_ | File containing the video. |
|
finalvirtual |