ChatVoiceMessageBody class Null safety
The voice message body class.
- Inheritance
-
- Object
- ChatFileMessageBody
- ChatVoiceMessageBody
Constructors
- ChatVoiceMessageBody({dynamic localPath, int duration = 0, String? displayName, int? fileSize})
- Creates a voice message.
Properties
- displayName ↔ String?
-
The attachment name.
read / writeinherited
- duration ↔ int
-
The voice duration in seconds.
latefinal
- fileSize ↔ int?
-
The size of the attachment in bytes.
read / writeinherited
- fileStatus ↔ DownloadStatus
-
The download status of the attachment.
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- localPath ↔ String
-
The local path of the attachment.
latefinalinherited
- remotePath ↔ String?
-
The attachment path in the server.
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- secret ↔ String?
-
The token used to get the attachment.
read / writeinherited
- type ↔ MessageType
-
Gets the chat message type.
read / writeinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited