Skip to content

InlineQueryResultPhoto

class Tourmaline::InlineQueryResultPhoto
inherits Tourmaline::InlineQueryResult #

Class methods#

.new(id, photo_url, thumb_url, photo_width = nil, photo_height = nil, title = nil, description = nil, caption = nil, parse_mode = nil, caption_entities = [] of MessageEntity, reply_markup = nil, input_message_content = nil) #

.new(pull : JSON::PullParser) #

Methods#

#caption : String? #

#caption=(caption : String?) #

#caption_entities : Array(MessageEntity) #

#caption_entities=(caption_entities : Array(MessageEntity)) #

#description : String? #

#description=(description : String?) #

#id : String #

#id=(id : String) #

#input_message_content : InputMessageContent? #

#input_message_content=(input_message_content : InputMessageContent?) #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #

#photo_height : Int32? #

#photo_height=(photo_height : Int32?) #

#photo_url : String #

#photo_url=(photo_url : String) #

#photo_width : Int32? #

#photo_width=(photo_width : Int32?) #

#reply_markup : InlineKeyboardMarkup? #

#reply_markup=(reply_markup : InlineKeyboardMarkup?) #

#thumb_url : String #

#thumb_url=(thumb_url : String) #

#title : String? #

#title=(title : String?) #

#type : String #

#type=(type : String) #