MadelineProtoDocs/docs/TD_docs/constructors/audio.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.1 KiB

title description image
audio Describes audio file. Audio is usually in mp3 format https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: audio

Back to constructors index

Describes audio file. Audio is usually in mp3 format

Attributes:

Name Type Required Description
duration int Yes Duration of the audio in seconds as defined by sender
title string Yes Title of the audio as defined by sender
performer string Yes Performer of the audio as defined by sender
file_name string Yes Original name of a file as defined by sender
mime_type string Yes MIME type of a file as defined by sender
album_cover_thumb photoSize Yes Thumb of the album's cover as defined by sender. Full size thumb should be extracted from the downloaded file, nullable
audio file Yes File with the audio

Type: Audio