VoiceContent

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

Functions

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

Properties

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

Full list of TextSources