MadelineProto/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md

49 lines
1.6 KiB
Markdown
Raw Normal View History

---
title: updateNewInlineCallbackQuery
description: Bots only. New incoming callback query from message sent via bot
---
## Constructor: updateNewInlineCallbackQuery
[Back to constructors index](index.md)
Bots only. New incoming callback query from message sent via bot
### Attributes:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Unique query identifier|
|sender\_user\_id|[int](../types/int.md) | Yes|Identifier of the user who sent the query|
|inline\_message\_id|[string](../types/string.md) | Yes|Identifier of the inline message, from which the query is originated|
|chat\_instance|[long](../types/long.md) | Yes|Identifier, uniquely corresponding to the chat a message was sent to|
|payload|[CallbackQueryPayload](../types/CallbackQueryPayload.md) | Yes|Query payload|
### Type: [Update](../types/Update.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$updateNewInlineCallbackQuery = ['_' => 'updateNewInlineCallbackQuery', 'id' => long, 'sender_user_id' => int, 'inline_message_id' => 'string', 'chat_instance' => long, 'payload' => CallbackQueryPayload];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "updateNewInlineCallbackQuery", "id": long, "sender_user_id": int, "inline_message_id": "string", "chat_instance": long, "payload": CallbackQueryPayload}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
updateNewInlineCallbackQuery={_='updateNewInlineCallbackQuery', id=long, sender_user_id=int, inline_message_id='string', chat_instance=long, payload=CallbackQueryPayload}
```