TDLib v0.0.2 TDLib.Object.Audio View Source
Describes an audio file. Audio is usually in MP3 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_thumbnail | photoSize | The thumbnail of the album cover; as defined by the sender. The full size thumbnail should be extracted from the downloaded file; may be null. |
audio | file | File containing the audio. |
More details on telegram’s documentation.