class TelegramBot::InlineQueryResultDocument
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/inline/inline_query_result_document.crConstructors
- .new(id : String, title : String, *, caption : Nil | String = nil, document_url : String, mime_type : String, description : Nil | String = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil, thumb_url : Nil | String = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #document_url : String
- #document_url=(document_url : String)
- #id : String
- #id=(id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(input_message_content : InputMessageContent | Nil)
- #mime_type : String
- #mime_type=(mime_type : String)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
- #thumb_height : Int32 | Nil
- #thumb_height=(thumb_height : Int32 | Nil)
- #thumb_url : String | Nil
- #thumb_url=(thumb_url : String | Nil)
- #thumb_width : Int32 | Nil
- #thumb_width=(thumb_width : Int32 | Nil)
- #title : String
- #title=(title : String)
- #type : String
- #type=(type : String)