Skip to content

InlineQueryResultVoice

class Tourmaline::InlineQueryResultVoice
inherits Tourmaline::InlineQueryResult #

Class methods#

.new(id, voice_url, title, caption = nil, parse_mode = nil, caption_entities = [] of MessageEntity, voice_duration = nil, reply_markup = nil, input_message_content = nil) #

.new(pull : JSON::PullParser) #

Methods#

#caption : String? #

#caption=(caption : String?) #

#caption_entities : Array(MessageEntity) #

#caption_entities=(caption_entities : Array(MessageEntity)) #

#id : String #

#id=(id : String) #

#input_message_content : InputMessageContent? #

#input_message_content=(input_message_content : InputMessageContent?) #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #

#reply_markup : InlineKeyboardMarkup? #

#reply_markup=(reply_markup : InlineKeyboardMarkup?) #

#title : String #

#title=(title : String) #

#type : String #

#type=(type : String) #

#voice_duration : Int32? #

#voice_duration=(voice_duration : Int32?) #

#voice_url : String #

#voice_url=(voice_url : String) #