InlineQueryResultCachedSticker

data class InlineQueryResultCachedSticker(type: String, id: String, sticker_file_id: String, reply_markup: InlineKeyboardMarkup?, input_message_content: InputMessageContent?) : InlineQueryResult

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.

Note: This will only work in Telegram versions released after 9 April, 2016 for static stickers and after 06 July, 2019 for animated stickers. Older clients will ignore them.

Constructors

InlineQueryResultCachedSticker
Link copied to clipboard
fun InlineQueryResultCachedSticker(type: String, id: String, sticker_file_id: String, reply_markup: InlineKeyboardMarkup? = null, input_message_content: InputMessageContent? = null)

Properties

id
Link copied to clipboard
val id: String
Unique identifier for this result, 1-64 bytes
input_message_content
Link copied to clipboard
val input_message_content: InputMessageContent? = null
Optional.
reply_markup
Link copied to clipboard
val reply_markup: InlineKeyboardMarkup? = null
Optional.
sticker_file_id
Link copied to clipboard
val sticker_file_id: String
A valid file identifier of the sticker
type
Link copied to clipboard
val type: String
Type of the result, must be sticker