InputMessageAudio class

Inheritance

Constructors

InputMessageAudio({InputFile audio, InputThumbnail albumCoverThumbnail, int duration, String title, String performer, FormattedText caption})
An audio message
InputMessageAudio.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

albumCoverThumbnail InputThumbnail
albumCoverThumbnail Thumbnail of the cover for the album, if available
read / write
audio InputFile
audio Audio file to be sent
read / write
caption FormattedText
caption Audio caption; 0-GetOption("message_caption_length_max") characters
read / write
duration int
duration Duration of the audio, in seconds; may be replaced by the server
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
performer String
performer 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-only, inherited
title String
title Title of the audio; 0-64 characters; may be replaced by the server
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
'inputMessageAudio'