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::videoNote Class Referencefinal

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

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

Public Member Functions

 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 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.
 
bytes waveform_
 A waveform representation of the video note&#x27;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.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 86987 of file td_api.h.

Constructor & Destructor Documentation

◆ videoNote() [1/2]

td::td_api::videoNote::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]

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

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&#x27;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.

Member Function Documentation

◆ store()

void td::td_api::videoNote::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::videoNote::duration_

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

Definition at line 86998 of file td_api.h.

◆ ID

const std::int32_t td::td_api::videoNote::ID = 2062096581
static

Identifier uniquely determining a type of the object.

Definition at line 87031 of file td_api.h.

◆ length_

int32 td::td_api::videoNote::length_

Video width and height; as defined by the sender.

Definition at line 87002 of file td_api.h.

◆ minithumbnail_

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

Video minithumbnail; may be null.

Definition at line 87004 of file td_api.h.

◆ speech_recognition_result_

object_ptr<SpeechRecognitionResult> td::td_api::videoNote::speech_recognition_result_

Result of speech recognition in the video note; may be null.

Definition at line 87008 of file td_api.h.

◆ thumbnail_

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

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

Definition at line 87006 of file td_api.h.

◆ video_

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

File containing the video.

Definition at line 87010 of file td_api.h.

◆ waveform_

bytes td::td_api::videoNote::waveform_

A waveform representation of the video note&#x27;s audio in 5-bit format; may be empty if unknown.

Definition at line 87000 of file td_api.h.


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