View Source ExTDLib.Object.Audio (ExTDLib v0.0.4)
Describes an audio file. Audio is usually in MP3 or M4A format.
| Name | Type | Description |
|---|---|---|
| duration | number | Duration of the audio, in seconds; as defined by the sender. |
| title | string | Title of the audio; as defined by the sender. |
| performer | string | Performer of the audio; as defined by the sender. |
| file_name | string | Original name of the file; as defined by the sender. |
| mime_type | string | The MIME type of the file; as defined by the sender. |
| album_cover_minithumbnail | minithumbnail | The minithumbnail of the album cover; may be null. |
| album_cover_thumbnail | thumbnail | The thumbnail of the album cover in JPEG format; as defined by the sender. The full size thumbnail is supposed to be extracted from the downloaded audio file; may be null. |
| external_album_covers | thumbnail | Album cover variants to use if the downloaded audio file contains no album cover. Provided thumbnail dimensions are approximate. |
| audio | file | File containing the audio. |
More details on telegram's documentation.