1.6 KiB
1.6 KiB
title | description | image |
---|---|---|
updateInlineBotCallbackQuery | Update inline bot callback query | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateInlineBotCallbackQuery
Update inline bot callback query
Attributes:
Name | Type | Required | Description |
---|---|---|---|
query_id | long | Yes | Query ID |
user_id | int | Yes | User ID |
msg_id | InputBotInlineMessageID | Yes | Msg ID |
chat_instance | long | Yes | Chat instance |
data | bytes | Optional | Data |
game_short_name | string | Optional | Game short name |
Type: Update
Example:
$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => 'bytes', 'game_short_name' => 'string'];
PWRTelegram json-encoded version:
{"_": "updateInlineBotCallbackQuery", "query_id": long, "user_id": int, "msg_id": InputBotInlineMessageID, "chat_instance": long, "data": {"_": "bytes", "bytes":"base64 encoded bytes"}, "game_short_name": "string"}
Or, if you're into Lua:
updateInlineBotCallbackQuery={_='updateInlineBotCallbackQuery', query_id=long, user_id=int, msg_id=InputBotInlineMessageID, chat_instance=long, data='bytes', game_short_name='string'}