MessageVoiceNote class

Inheritance

Constructors

MessageVoiceNote({VoiceNote voiceNote, FormattedText caption, bool isListened})
A voice note message
MessageVoiceNote.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

caption FormattedText
caption Voice note caption
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isListened bool
isListened True, if at least one of the recipients has listened to the voice note
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
voiceNote VoiceNote
voiceNote The voice note description
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
'messageVoiceNote'