MadelineProto/docs/TD_docs/constructors/inputInlineQueryResultSticker.md

1.8 KiB

title description
inputInlineQueryResultSticker Represents link to a webp sticker

Constructor: inputInlineQueryResultSticker

Back to constructors index

Represents link to a webp sticker

Attributes:

Name Type Required Description
id string Yes Unique identifier of this result
thumb_url string Yes Url of the sticker thumb, if exists
sticker_url string Yes Url of the webp sticker (file with a sticker must not exceed 5MB)
sticker_width int Yes Width of the sticker
sticker_height int Yes Height of the sticker
reply_markup ReplyMarkup Yes Message reply markup, should be of type replyMarkupInlineKeyboard or null
input_message_content InputMessageContent Yes Content of the message to be sent, should be of type inputMessageText or inputMessageSticker or InputMessageLocation or InputMessageVenue or InputMessageContact

Type: InputInlineQueryResult

Example:

$inputInlineQueryResultSticker = ['_' => 'inputInlineQueryResultSticker', 'id' => string, 'thumb_url' => string, 'sticker_url' => string, 'sticker_width' => int, 'sticker_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ];

Or, if you're into Lua:

inputInlineQueryResultSticker={_='inputInlineQueryResultSticker', id=string, thumb_url=string, sticker_url=string, sticker_width=int, sticker_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent, }

Usage of reply_markup

You can provide bot API reply_markup objects here.