Skip to content

InlineQueryResultCachedDocument

class Tourmaline::InlineQueryResultCachedDocument
inherits Tourmaline::InlineQueryResult #

Class methods#

.new(id, title, document_file_id, 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?) #

#document_file_id : String #

#document_file_id=(document_file_id : 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?) #

#reply_markup : InlineKeyboardMarkup? #

#reply_markup=(reply_markup : InlineKeyboardMarkup?) #

#title : String #

#title=(title : String) #

#type : String #

#type=(type : String) #