#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | 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_, double cover_frame_timestamp_, object_ptr< file > &&video_) |
| |
| 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 |
| |
|
| static const std::int32_t | ID = 1445661253 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes a video file posted as a story.
Definition at line 70242 of file td_api.h.
◆ storyVideo() [1/2]
| td::td_api::storyVideo::storyVideo |
( |
| ) |
|
Describes a video file posted as a story.
◆ storyVideo() [2/2]
Describes a video file posted as a story.
- Parameters
-
| [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 expected to be preloaded, in bytes. |
| [in] | cover_frame_timestamp_ | Timestamp of the frame used as video thumbnail. |
| [in] | video_ | File containing the video. |
◆ store()
| void td::td_api::storyVideo::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.
◆ cover_frame_timestamp_
| double td::td_api::storyVideo::cover_frame_timestamp_ |
Timestamp of the frame used as video thumbnail.
Definition at line 70269 of file td_api.h.
◆ duration_
| double td::td_api::storyVideo::duration_ |
Duration of the video, in seconds.
Definition at line 70253 of file td_api.h.
◆ has_stickers_
| bool td::td_api::storyVideo::has_stickers_ |
◆ height_
| int32 td::td_api::storyVideo::height_ |
◆ ID
| const std::int32_t td::td_api::storyVideo::ID = 1445661253 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 70295 of file td_api.h.
◆ is_animation_
| bool td::td_api::storyVideo::is_animation_ |
True, if the video has no sound.
Definition at line 70261 of file td_api.h.
◆ minithumbnail_
Video minithumbnail; may be null.
Definition at line 70263 of file td_api.h.
◆ preload_prefix_size_
| int32 td::td_api::storyVideo::preload_prefix_size_ |
Size of file prefix, which is expected to be preloaded, in bytes.
Definition at line 70267 of file td_api.h.
◆ thumbnail_
Video thumbnail in JPEG or MPEG4 format; may be null.
Definition at line 70265 of file td_api.h.
◆ video_
File containing the video.
Definition at line 70271 of file td_api.h.
◆ width_
| int32 td::td_api::storyVideo::width_ |
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h