List of all members | Public Fields | Public Instance Methods | Static Public Attributes
videoNote Class Referencefinal

Inherits Object.

Description

Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format.

Public Fields

int32 duration_
 Duration of the video, in seconds; as defined by the sender.
 
int32 length_
 Video width and height; as defined by the sender.
 
object_ptr< minithumbnailminithumbnail_
 Video minithumbnail; may be null.
 
object_ptr< thumbnailthumbnail_
 Video thumbnail in JPEG format; as defined by the sender; may be null.
 
object_ptr< filevideo_
 File containing the video.
 

Public Instance Methods

 videoNote ()
 
 videoNote (int32 duration_, int32 length_, object_ptr< minithumbnail > &&minithumbnail_, object_ptr< thumbnail > &&thumbnail_, object_ptr< file > &&video_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ videoNote() [1/2]

videoNote ( )

Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format.

◆ videoNote() [2/2]

videoNote ( int32  duration_,
int32  length_,
object_ptr< minithumbnail > &&  minithumbnail_,
object_ptr< thumbnail > &&  thumbnail_,
object_ptr< file > &&  video_ 
)

Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format.

Parameters
[in]duration_Duration of the video, in seconds; as defined by the sender.
[in]length_Video width and height; as defined by the sender.
[in]minithumbnail_Video minithumbnail; may be null.
[in]thumbnail_Video thumbnail in JPEG format; as defined by the sender; may be null.
[in]video_File containing the video.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void 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 TlObject.


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