Inline Query Result Cached Sticker
data class InlineQueryResultCachedSticker(id: String, stickerFileId: String, replyMarkup: InlineKeyboardMarkup?, inputMessageContent: InputMessageContent?, type: String) : InlineQueryResult
Content copied to clipboard
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.
Parameters
id
Unique identifier for this result, 1-64 bytes
stickerFileId
A valid file identifier of the sticker
replyMarkup
Optional. Inline keyboard attached to the message
inputMessageContent
Optional. Content of the message to be sent instead of the sticker
type
Type of the result, must be sticker
Constructors
InlineQueryResultCachedSticker
Link copied to clipboard
fun InlineQueryResultCachedSticker(id: String, stickerFileId: String, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, type: String)
Content copied to clipboard
Unique identifier for this result, 1-64 bytes
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
copy
Link copied to clipboard
fun copy(id: String, stickerFileId: String, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, type: String): InlineQueryResultCachedSticker
Content copied to clipboard
Properties
inputMessageContent
Link copied to clipboard
replyMarkup
Link copied to clipboard
stickerFileId
Link copied to clipboard