InputMessageAudio class

Implemented types

Constructors

InputMessageAudio({dynamic audio, InputThumbnail albumCoverThumbnail, int duration, String title, String performer, FormattedText caption})
An audio message. audio Audio file to be sent . albumCoverThumbnail Thumbnail of the cover for the album, if available . duration Duration of the audio, in seconds; may be replaced by the server . title Title of the audio; 0-64 characters; may be replaced by the server. performer Performer of the audio; 0-64 characters, may be replaced by the server . caption Audio caption; 0-GetOption("message_caption_length_max") characters
InputMessageAudio.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

albumCoverThumbnail InputThumbnail
read / write
audio ↔ dynamic
read / write
caption FormattedText
read / write
duration int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
performer String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"inputMessageAudio"