Audio
Parameters
fileId
Identifier for this file, which can be used to download or reuse the file
fileUniqueId
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.
duration
Duration of the audio in seconds as defined by sender
performer
Optional. Performer of the audio as defined by sender or by audio tags
title
Optional. Title of the audio as defined by sender or by audio tags
fileName
Optional. Original filename as defined by sender
mimeType
Optional. MIME type of the file as defined by sender
fileSize
Optional. File size
thumb
Optional. Thumbnail of the album cover to which the music file belongs
Constructors
Audio
Link copied to clipboard
fun Audio(fileId: String, fileUniqueId: String, duration: Int, performer: String? = null, title: String? = null, fileName: String? = null, mimeType: String? = null, fileSize: Int? = null, thumb: PhotoSize? = null)
Content copied to clipboard
Identifier for this file, which can be used to download or reuse the file
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard
component9
Link copied to clipboard