class TelegramBot::InlineQueryResultCachedPhoto

Defined in:

telegram_bot/types/inline/inline_query_result_cached_photo.cr

Constant Summary

FIELDS = {type: {type: String, mustbe: "photo"}, id: String, photo_file_id: String, title: {type: String, nilable: true}, description: {type: String, nilable: true}, caption: {type: String, nilable: true}, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}}

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, photo_file_id : String, title : String | Nil = nil, description : String | Nil = nil, caption : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil) #

[View source]
def self.new(__temp_210 : JSON::PullParser) #

[View source]

Instance Method Detail

def caption : String | Nil #

[View source]
def caption=(_caption : String | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(_description : String | Nil) #

[View source]
def id : String #

[View source]
def id=(_id : String) #

[View source]
def input_message_content : InputMessageContent | Nil #

[View source]
def input_message_content=(_input_message_content : InputMessageContent | Nil) #

[View source]
def photo_file_id : String #

[View source]
def photo_file_id=(_photo_file_id : String) #

[View source]
def reply_markup : InlineKeyboardMarkup | Nil #

[View source]
def reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil) #

[View source]
def title : String | Nil #

[View source]
def title=(_title : String | Nil) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def type : String #

[View source]
def type=(_type : String) #

[View source]