Skip to content

InlineQueryResultCachedPhoto

class Tourmaline::InlineQueryResultCachedPhoto
inherits Tourmaline::InlineQueryResult #

Class methods#

.new(id, photo_file_id, 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_entities : Array(MessageEntity) #

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

#description : String? #

#id : String #

#input_message_content : InputMessageContent? #

#parse_mode : ParseMode? #

#parse_mode=(parse_mode : ParseMode?) #

#photo_file_id : String #

#reply_markup : InlineKeyboardMarkup? #

#title : String? #

#type : String #