docs

# AudioFile

data class AudioFile ( val fileId: FileId , val fileUniqueId: FileUniqueId , val duration: Long ? = null, val performer: String ? = null, val title: String ? = null, val fileName: String ? = null, val mimeType: MimeType ? = null, val fileSize: Long ? = null, val thumb: PhotoSize ? = null) : TelegramMediaFile, CustomNamedMediaFile, MimedMediaFile, ThumbedMediaFile, PlayableMediaFile, TitledMediaFile, Performerable
Content copied to clipboard

## Constructors

AudioFile
Link copied to clipboard
fun AudioFile ( fileId: FileId , fileUniqueId: FileUniqueId , duration: Long ? = null, performer: String ? = null, title: String ? = null, fileName: String ? = null, mimeType: MimeType ? = null, fileSize: Long ? = null, thumb: PhotoSize ? = null)
Content copied to clipboard

## Properties

duration
Link copied to clipboard
open override val duration : Long ? = null
Content copied to clipboard
fileId
Link copied to clipboard
open override val fileId : FileId
Content copied to clipboard
fileName
Link copied to clipboard
open override val fileName : String ? = null
Content copied to clipboard
fileSize
Link copied to clipboard
open override val fileSize : Long ? = null
Content copied to clipboard
fileUniqueId
Link copied to clipboard
open override val fileUniqueId : FileUniqueId
Content copied to clipboard
mimeType
Link copied to clipboard
open override val mimeType : MimeType ? = null
Content copied to clipboard
performer
Link copied to clipboard
open override val performer : String ? = null
Content copied to clipboard
thumb
Link copied to clipboard
open override val thumb : PhotoSize ? = null
Content copied to clipboard
title
Link copied to clipboard
open override val title : String ? = null
Content copied to clipboard

## Extensions

asVoiceFile
Link copied to clipboard
fun AudioFile . asVoiceFile (): VoiceFile
Content copied to clipboard
toTelegramMediaAudio
Link copied to clipboard
fun AudioFile . toTelegramMediaAudio ( text: String ? = null, parseMode: ParseMode ? = null, title: String ? = this.title): TelegramMediaAudio
Content copied to clipboard
fun AudioFile . toTelegramMediaAudio (textSources: TextSourcesList = emptyList(), title: String ? = this.title): TelegramMediaAudio
Content copied to clipboard