Interface InputInlineQueryResultSticker

Represents a link to a WEBP, TGS, or WEBM sticker. Subtype of InputInlineQueryResult.

interface InputInlineQueryResultSticker {
    @type: "inputInlineQueryResultSticker";
    id: string;
    input_message_content: InputMessageContent;
    reply_markup: ReplyMarkup;
    sticker_height: number;
    sticker_url: string;
    sticker_width: number;
    thumbnail_url: string;
}

Properties

@type: "inputInlineQueryResultSticker"
id: string

Unique identifier of the query result.

input_message_content: InputMessageContent

The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageSticker, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.

reply_markup: ReplyMarkup

The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.

sticker_height: number

Height of the sticker.

sticker_url: string

The URL of the WEBP, TGS, or WEBM sticker (sticker file size must not exceed 5MB).

sticker_width: number

Width of the sticker.

thumbnail_url: string

URL of the sticker thumbnail, if it exists.