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.
 
bytes waveform_
 A waveform representation of the video note's audio in 5-bit format; may be empty if unknown.
 
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< SpeechRecognitionResultspeech_recognition_result_
 Result of speech recognition in the video note; may be null.
 
object_ptr< filevideo_
 File containing the video.
 

Public Instance Methods

 videoNote ()
 
 videoNote (int32 duration_, bytes const &waveform_, int32 length_, object_ptr< minithumbnail > &&minithumbnail_, object_ptr< thumbnail > &&thumbnail_, object_ptr< SpeechRecognitionResult > &&speech_recognition_result_, object_ptr< file > &&video_)
 
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 = 2062096581
 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_,
bytes const &  waveform_,
int32  length_,
object_ptr< minithumbnail > &&  minithumbnail_,
object_ptr< thumbnail > &&  thumbnail_,
object_ptr< SpeechRecognitionResult > &&  speech_recognition_result_,
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]waveform_A waveform representation of the video note's audio in 5-bit format; may be empty if unknown.
[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]speech_recognition_result_Result of speech recognition in the video note; may be null.
[in]video_File containing the video.

Method Documentation

◆ 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: