Properties

Link copied to clipboard
@SerialName(value = "allow_sending_without_reply")
open override val allowSendingWithoutReply: Boolean? = null
Link copied to clipboard
@SerialName(value = "audio")
val audio: InputFile
Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "disable_notification")
open override val disableNotification: Boolean = false
Link copied to clipboard
@SerialName(value = "duration")
open override val duration: Long? = null

Duration of media, usually in seconds

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "parse_mode")
open override val parseMode: ParseMode? = null
Link copied to clipboard
@SerialName(value = "performer")
open override val performer: String? = null
Link copied to clipboard
@SerialName(value = "protect_content")
open override val protectContent: Boolean = false
Link copied to clipboard
@SerialName(value = "reply_markup")
open override val replyMarkup: KeyboardMarkup? = null
Link copied to clipboard
@SerialName(value = "reply_to_message_id")
open override val replyToMessageId: MessageId? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<AudioContent>>
Link copied to clipboard
@SerialName(value = "caption")
open override val text: String? = null
Link copied to clipboard
open override val textSources: List<TextSource>?

Full list of TextSources

Link copied to clipboard
@SerialName(value = "message_thread_id")
open override val threadId: MessageThreadId?
Link copied to clipboard
@SerialName(value = "thumbnail")
open override val thumbnail: String? = null
Link copied to clipboard
@SerialName(value = "title")
open override val title: String? = null

Functions

Link copied to clipboard
open override fun method(): String