class Tourmaline::InlineQueryResultPhoto
Defined in:
tourmaline/models/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, parse_mode : Tourmaline::ParseMode | Nil = nil, caption_entities : Array(Tourmaline::MessageEntity) = [] of MessageEntity, 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))
- #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)
- #parse_mode : ParseMode | Nil
- #parse_mode=(parse_mode : ParseMode | 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)