- class pyrogram.types.Audio#
An audio file to be treated as music by the Telegram clients.
str) – Identifier for this file, which can be used to download or reuse the file.
str) – Unique identifier for this file, which is supposed to be the same over time and for different accounts. Can’t be used to download or reuse the file.
int) – Duration of the audio in seconds as defined by sender.
str, optional) – Performer of the audio as defined by sender or by audio tags.
str, optional) – Title of the audio as defined by sender or by audio tags.
str, optional) – Audio file name.
str, optional) – MIME type of the file as defined by sender.
int, optional) – File size.
datetime, optional) – Date the audio was originally sent.
thumbs (List of
Thumbnail, optional) – Thumbnails of the music file album cover.