InputMessageVoiceNote class

Inheritance

Constructors

InputMessageVoiceNote({InputFile voiceNote, int duration, String waveform, FormattedText caption})
A voice note message
InputMessageVoiceNote.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

caption FormattedText
caption Voice note caption; 0-GetOption("message_caption_length_max") characters
read / write
duration int
duration Duration of the voice note, in seconds
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
voiceNote InputFile
voiceNote Voice note to be sent
read / write
waveform String
waveform Waveform representation of the voice note, in 5-bit format
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'inputMessageVoiceNote'