VideoNote class

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

Inheritance
Available Extensions

Constructors

VideoNote({required int duration, required bytes waveform, required int length, Minithumbnail? minithumbnail, Thumbnail? thumbnail, SpeechRecognitionResult? speech_recognition_result, required File video, int? extra, int? clientId})
Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
duration int
Duration of the video, in seconds; as defined by the sender.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
length int
Video width and height; as defined by the sender.
read / write
minithumbnail Minithumbnail?
Video minithumbnail; may be null.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
speech_recognition_result SpeechRecognitionResult?
Result of speech recognition in the video note; may be null.
read / write
thumbnail Thumbnail?
Video thumbnail in JPEG format; as defined by the sender; may be null.
read / write
video File
File containing the video.
read / write
waveform bytes
A waveform representation of the video note's audio in 5-bit format; may be empty if unknown. ; base64-encoded bytes List<int>
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) VideoNote?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"videoNote"