Audio

@Serializable
@SerialName(value = "audio")
data class Audio(var media: ImplicitFile, var thumbnail: ImplicitFile? = null, val caption: String? = null, val parseMode: ParseMode? = null, val captionEntities: List<MessageEntity>? = null, val duration: Int? = null, val performer: String? = null, val title: String? = null) : InputMedia

Constructors

Link copied to clipboard
constructor(media: String, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, duration: Int? = null, performer: String? = null, title: String? = null)
constructor(media: InputFile, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, duration: Int? = null, performer: String? = null, title: String? = null)
constructor(media: ImplicitFile, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, duration: Int? = null, performer: String? = null, title: String? = null)

Properties

Link copied to clipboard
val caption: String? = null
Link copied to clipboard
Link copied to clipboard
val duration: Int? = null
Link copied to clipboard
open override var media: ImplicitFile
Link copied to clipboard
val parseMode: ParseMode? = null
Link copied to clipboard
val performer: String? = null
Link copied to clipboard
open override var thumbnail: ImplicitFile?
Link copied to clipboard
val title: String? = null
Link copied to clipboard