Skip to content

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) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#caption : String? #

View source

#caption=(caption : String?) #

View source

#caption_entities : Array(MessageEntity) #

View source

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

View source

#description : String? #

View source

#description=(description : String?) #

View source

#id=(id : String) #

View source

#input_message_content : InputMessageContent? #

View source

#input_message_content=(input_message_content : InputMessageContent?) #

View source

#parse_mode : ParseMode? #

View source

#parse_mode=(parse_mode : ParseMode?) #

View source

#photo_height : Int32? #

View source

#photo_height=(photo_height : Int32?) #

View source

#photo_url : String #

View source

#photo_url=(photo_url : String) #

View source

#photo_width : Int32? #

View source

#photo_width=(photo_width : Int32?) #

View source

#reply_markup=(reply_markup : InlineKeyboardMarkup?) #

View source

#thumb_url : String #

View source

#thumb_url=(thumb_url : String) #

View source

#title : String? #

View source

#title=(title : String?) #

View source

#type : String #

View source

#type=(type : String) #

View source