Inherits Object.
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< minithumbnail > | minithumbnail_ |
Video minithumbnail; may be null. | |
object_ptr< thumbnail > | thumbnail_ |
Video thumbnail in JPEG format; as defined by the sender; may be null. | |
object_ptr< SpeechRecognitionResult > | speech_recognition_result_ |
Result of speech recognition in the video note; may be null. | |
object_ptr< file > | video_ |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 2062096581 |
Identifier uniquely determining a type of the object. | |
videoNote | ( | ) |
Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format.
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.
[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. |
|
finalvirtual |