TDLib v0.0.2 TDLib.Object.Audio View Source

Describes an audio file. Audio is usually in MP3 format.

NameTypeDescription
durationnumberDuration of the audio, in seconds; as defined by the sender.
titlestringTitle of the audio; as defined by the sender.
performerstringPerformer of the audio; as defined by the sender.
file_namestringOriginal name of the file; as defined by the sender.
mime_typestringThe MIME type of the file; as defined by the sender.
album_cover_thumbnailphotoSizeThe thumbnail of the album cover; as defined by the sender. The full size thumbnail should be extracted from the downloaded file; may be null.
audiofileFile containing the audio.

More details on telegram’s documentation.