mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 14:47:26 +01:00
1.8 KiB
1.8 KiB
title | description |
---|---|
inputInlineQueryResultSticker | Represents link to a webp sticker |
Constructor: inputInlineQueryResultSticker
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.