class Tourmaline::InlineQueryResultVoice
Defined in:
tourmaline/models/inline/inline_query_result_voice.crConstructors
- .new(id : String, voice_url : String, title : String, caption : Nil | String = nil, parse_mode : Tourmaline::ParseMode | Nil = nil, caption_entities : Array(Tourmaline::MessageEntity) = [] of MessageEntity, voice_duration : Int32 | Nil = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #caption_entities : Array(MessageEntity)
- #caption_entities=(caption_entities : Array(MessageEntity))
- #id : String
- #id=(id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(input_message_content : InputMessageContent | Nil)
- #parse_mode : ParseMode | Nil
- #parse_mode=(parse_mode : ParseMode | Nil)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
- #title : String
- #title=(title : String)
- #type : String
- #type=(type : String)
- #voice_duration : Int32 | Nil
- #voice_duration=(voice_duration : Int32 | Nil)
- #voice_url : String
- #voice_url=(voice_url : String)