Skip to content

InputInlineQueryResultSticker

Type · TDLib 1.8.67 · d1085f9c

Represents a link to a WEBP, TGS, or WEBM sticker

InputInlineQueryResultSticker(
  id: string,
  thumbnail_url: string,
  sticker_url: string,
  sticker_width: int32,
  sticker_height: int32,
  reply_markup: ReplyMarkup,
  input_message_content: InputMessageContent
) → InputInlineQueryResult

id

string

Unique identifier of the query result

thumbnail_url

string

URL of the sticker thumbnail, if it exists

sticker_url

string

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

sticker_width

int32

Width of the sticker

sticker_height

int32

Height of the sticker

reply_markup

ReplyMarkup

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

input_message_content

InputMessageContent

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