class TelegramBot::InlineQueryResultVoice
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/inline/inline_query_result_voice.crConstructors
- .new(id : String, voice_url : String, title : String, *, caption : Nil | String = nil, parse_mode : Nil | String = nil, voice_duration : Int32 | Nil = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #id : String
- #id=(id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(input_message_content : InputMessageContent | Nil)
- #parse_mode : String | Nil
- #parse_mode=(parse_mode : String | 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)