InputMessageAudio class

An audio message.

Inheritance
Available Extensions

Constructors

InputMessageAudio({required InputFile audio, InputThumbnail? album_cover_thumbnail, required int duration, required String title, required String performer, FormattedText? caption, int? extra, int? clientId})
An audio message

Properties

album_cover_thumbnail ↔ InputThumbnail?
Thumbnail of the cover for the album; pass null to skip thumbnail uploading.
read / write
audio ↔ InputFile
Audio file to be sent.
read / write
caption ↔ FormattedText?
Audio caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
duration ↔ int
Duration of the audio, in seconds; may be replaced by the server.
read / write
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode → int
The hash code for this object.
read-onlyinherited
performer ↔ String
Performer of the audio; 0-64 characters, may be replaced by the server.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
title ↔ String
Title of the audio; 0-64 characters; may be replaced by the server.
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) → InputMessageAudio?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"inputMessageAudio"