tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::video Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::video:
td::td_api::Object td::TlObject

Public Member Functions

 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_)
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int32 duration_
 Duration of the video, in seconds; as defined by the sender.
 
int32 width_
 Video width; as defined by the sender.
 
int32 height_
 Video height; as defined by the sender.
 
string file_name_
 Original name of the file; as defined by the sender.
 
string mime_type_
 MIME type 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.
 
bool supports_streaming_
 True, if the video is expected to be streamed.
 
object_ptr< minithumbnailminithumbnail_
 Video minithumbnail; may be null.
 
object_ptr< thumbnailthumbnail_
 Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null.
 
object_ptr< filevideo_
 File containing the video.
 

Static Public Attributes

static const std::int32_t ID = 832856268
 Identifier uniquely determining a type of the object.
 

Detailed Description

Describes a video file.

Definition at line 86757 of file td_api.h.

Constructor & Destructor Documentation

◆ video() [1/2]

td::td_api::video::video ( )

Describes a video file.

◆ video() [2/2]

td::td_api::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_ 
)

Describes a video file.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::video::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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ duration_

int32 td::td_api::video::duration_

Duration of the video, in seconds; as defined by the sender.

Definition at line 86768 of file td_api.h.

◆ file_name_

string td::td_api::video::file_name_

Original name of the file; as defined by the sender.

Definition at line 86774 of file td_api.h.

◆ has_stickers_

bool td::td_api::video::has_stickers_

True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets.

Definition at line 86778 of file td_api.h.

◆ height_

int32 td::td_api::video::height_

Video height; as defined by the sender.

Definition at line 86772 of file td_api.h.

◆ ID

const std::int32_t td::td_api::video::ID = 832856268
static

Identifier uniquely determining a type of the object.

Definition at line 86810 of file td_api.h.

◆ mime_type_

string td::td_api::video::mime_type_

MIME type of the file; as defined by the sender.

Definition at line 86776 of file td_api.h.

◆ minithumbnail_

object_ptr<minithumbnail> td::td_api::video::minithumbnail_

Video minithumbnail; may be null.

Definition at line 86782 of file td_api.h.

◆ supports_streaming_

bool td::td_api::video::supports_streaming_

True, if the video is expected to be streamed.

Definition at line 86780 of file td_api.h.

◆ thumbnail_

object_ptr<thumbnail> td::td_api::video::thumbnail_

Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null.

Definition at line 86784 of file td_api.h.

◆ video_

object_ptr<file> td::td_api::video::video_

File containing the video.

Definition at line 86786 of file td_api.h.

◆ width_

int32 td::td_api::video::width_

Video width; as defined by the sender.

Definition at line 86770 of file td_api.h.


The documentation for this class was generated from the following file: