Audio
Describes an audio file. Audio is usually in MP3 or M4A format.
This is an alias for the AudioUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "audio" | |
duration | number | Duration of the audio, in seconds; as defined by the sender |
title | string | Title of the audio; as defined by the sender |
performer | string | Performer of the audio; as defined by the sender |
fileName | string | Original name of the file; as defined by the sender |
mimeType | string | The MIME type of the file; as defined by the sender |
albumCoverMinithumbnail | The minithumbnail of the album cover; may be null | |
albumCoverThumbnail | The thumbnail of the album cover in JPEG format; as defined by the sender. The full size thumbnail is supposed to be extracted from the downloaded file; may be null | |
audio | File containing the audio |