class Tourmaline::InlineQueryResultCachedSticker
inherits Reference
#
Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker.
Included modules
JSON::Serializable
Constructors#
.new(id, sticker_file_id, type = "sticker", reply_markup : Tourmaline::InlineKeyboardMarkup? = nil, input_message_content : Tourmaline::InputMessageContent? = nil)
#
(id, sticker_file_id, type = "sticker", reply_markup : Tourmaline::InlineKeyboardMarkup? = nil, input_message_content : Tourmaline::InputMessageContent? = nil)
Methods#
#input_message_content : Tourmaline::InputMessageContent?
#
: Tourmaline::InputMessageContent?
Optional. Content of the message to be sent instead of the sticker
#input_message_content=(input_message_content : Tourmaline::InputMessageContent?)
#
(input_message_content : Tourmaline::InputMessageContent?)
Optional. Content of the message to be sent instead of the sticker
#reply_markup : Tourmaline::InlineKeyboardMarkup?
#
: Tourmaline::InlineKeyboardMarkup?
Optional. Inline keyboard attached to the message
#reply_markup=(reply_markup : Tourmaline::InlineKeyboardMarkup?)
#
(reply_markup : Tourmaline::InlineKeyboardMarkup?)
Optional. Inline keyboard attached to the message