VoiceContent

data class VoiceContent(media: VoiceFile, text: String?, textSources: TextSourcesList) : MediaContent, TextedInput

Functions

Link copied to clipboard
open override fun asInputMedia(): InputMediaAudio
Link copied to clipboard
open override fun createResend(chatId: ChatIdentifier, disableNotification: Boolean, protectContent: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Request<ContentMessage<VoiceContent>>

Properties

Link copied to clipboard
open override val media: VoiceFile
Link copied to clipboard
open override val text: String? = null
Link copied to clipboard
open override val textSources: TextSourcesList

Full list of TextSources