mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 02:26:55 +01:00
1.7 KiB
1.7 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, }