class TelegramBot::InlineQueryResultCachedPhoto
Defined in:
telegram_bot/types/inline/inline_query_result_cached_photo.crConstant 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
- .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)
- .new(__temp_210 : JSON::PullParser)
Instance Method Summary
- #caption : String | Nil
- #caption=(_caption : String | Nil)
- #description : String | Nil
- #description=(_description : String | Nil)
- #id : String
- #id=(_id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(_input_message_content : InputMessageContent | Nil)
- #photo_file_id : String
- #photo_file_id=(_photo_file_id : String)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil)
- #title : String | Nil
- #title=(_title : String | Nil)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)