Skip to content

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) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#id : String #

Unique identifier for this result, 1-64 bytes

View source

#id=(id : String) #

Unique identifier for this result, 1-64 bytes

View source

#input_message_content : Tourmaline::InputMessageContent? #

Optional. Content of the message to be sent instead of the sticker

View source

#input_message_content=(input_message_content : Tourmaline::InputMessageContent?) #

Optional. Content of the message to be sent instead of the sticker

View source

#reply_markup : Tourmaline::InlineKeyboardMarkup? #

Optional. Inline keyboard attached to the message

View source

#reply_markup=(reply_markup : Tourmaline::InlineKeyboardMarkup?) #

Optional. Inline keyboard attached to the message

View source

#sticker_file_id : String #

A valid file identifier of the sticker

View source

#sticker_file_id=(sticker_file_id : String) #

A valid file identifier of the sticker

View source

#type : String #

Type of the result, must be sticker

View source

#type=(type : String) #

Type of the result, must be sticker

View source