Inline Query Result Voice
data class InlineQueryResultVoice(type: String, id: String, voice_url: String, title: String, caption: String?, parse_mode: ParseMode?, caption_entities: List<MessageEntity>?, voice_duration: Long?, reply_markup: InlineKeyboardMarkup?, input_message_content: InputMessageContent?) : InlineQueryResult
Content copied to clipboard
Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the the voice message.
Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
Constructors
InlineQueryResultVoice
Link copied to clipboard
fun InlineQueryResultVoice(type: String, id: String, voice_url: String, title: String, caption: String? = null, parse_mode: ParseMode? = null, caption_entities: List<MessageEntity>? = null, voice_duration: Long? = null, reply_markup: InlineKeyboardMarkup? = null, input_message_content: InputMessageContent? = null)
Content copied to clipboard
Creates a InlineQueryResultVoice.
Properties
caption_entities
Link copied to clipboard
input_message_content
Link copied to clipboard
parse_mode
Link copied to clipboard
reply_markup
Link copied to clipboard
voice_duration
Link copied to clipboard