Audio¶
- class litegram.types.audio.Audio(*, file_id: str, file_unique_id: str, duration: int, performer: str | None = None, title: str | None = None, file_name: str | None = None, mime_type: str | None = None, file_size: int | None = None, thumbnail: PhotoSize | None = None, **extra_data: Any)[source]¶
This object represents an audio file to be treated as music by the Telegram clients.
Source: https://core.telegram.org/bots/api#audio
- file_unique_id: str¶
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can’t be used to download or reuse the file.