class TelegramBot::InlineQueryResultPhoto
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/inline/inline_query_result_photo.crConstructors
- .new(id : String, photo_url : String, thumb_url : String, *, photo_width : Int32 | Nil = nil, photo_height : Int32 | Nil = nil, title : Nil | String = nil, description : Nil | String = nil, caption : Nil | String = 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)
- #description : String | Nil
- #description=(description : String | Nil)
- #id : String
- #id=(id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(input_message_content : InputMessageContent | Nil)
- #photo_height : Int32 | Nil
- #photo_height=(photo_height : Int32 | Nil)
- #photo_url : String
- #photo_url=(photo_url : String)
- #photo_width : Int32 | Nil
- #photo_width=(photo_width : Int32 | Nil)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
- #thumb_url : String
- #thumb_url=(thumb_url : String)
- #title : String | Nil
- #title=(title : String | Nil)
- #type : String
- #type=(type : String)