Telegram::InlineQueryResultCachedSticker
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: InlineQueryResultCachedSticker 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.
Constructors
new(type : String, id : String, sticker_file_id : String, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(type _type = @type, id _id = @id, sticker_file_id _sticker_file_id = @sticker_file_id, reply_markup _reply_markup = @reply_markup, input_message_content _input_message_content = @input_message_content)
Sourceid
input_message_content
reply_markup
sticker_file_id
type