class TelegramBot::InlineQueryResultCachedSticker
Defined in:
telegram_bot/types/inline/inline_query_result_cached_sticker.crConstant Summary
-
FIELDS =
{type: {type: String, mustbe: "sticker"}, id: String, sticker_file_id: String, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}}
Constructors
- .new(id : String, sticker_file_id : String, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
- .new(__temp_229 : JSON::PullParser)
Instance Method Summary
- #id : String
- #id=(_id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(_input_message_content : InputMessageContent | Nil)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(_reply_markup : InlineKeyboardMarkup | Nil)
- #sticker_file_id : String
- #sticker_file_id=(_sticker_file_id : String)
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)
Constructor Detail
def self.new(id : String, sticker_file_id : String, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
#