TL object describing the audio
ReadonlyattrTL object describing the audio
Optional ReadonlydcDC ID of the file, when available
Optional ReadonlyfileFile size in bytes, when available
ReadonlylocationLocation of the file.
Either a TL object declaring remote file location, a Buffer containing actual file content (for stripped thumbnails and vector previews), or a function that will return either of those.
When a function is passed, it will be lazily resolved the first time downloading the file.
ReadonlyrawReadonlytypeType of the media (for use in a tagged union)
Date the document was sent
Duration of the audio in seconds.
May not be accurate since provided by the sender.
Get TDLib and Bot API compatible File ID representing this document.
Original file name, extracted from the document attributes.
Input document TL object generated from this object, to be used with methods that use it
Input media TL object generated from this object, to be used inside InputMediaLike and TelegramClient.sendMedia
File MIME type, as defined by the sender.
Performer of the audio track.
Title of the audio track.
Get a unique File ID representing this document.
Protected_fileGet a thumbnail by its type.
Thumbnail types are described in the Telegram docs, and are also available as static members of Thumbnail for convenience.
Thumbnail type
An audio file