MadelineProto/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md

1.3 KiB

title description
updateNewInlineCallbackQuery Bots only. New incoming callback query from message sent via bot

Constructor: updateNewInlineCallbackQuery

Back to constructors index

Bots only. New incoming callback query from message sent via bot

Attributes:

Name Type Required Description
id long Yes Unique query identifier
sender_user_id int Yes Identifier of the user who sent the query
inline_message_id string Yes Identifier of the inline message, from which the query is originated
chat_instance long Yes Identifier, uniquely corresponding to the chat a message was sent to
payload CallbackQueryPayload Yes Query payload

Type: Update

Example:

$updateNewInlineCallbackQuery = ['_' => 'updateNewInlineCallbackQuery', 'id' => long, 'sender_user_id' => int, 'inline_message_id' => string, 'chat_instance' => long, 'payload' => CallbackQueryPayload, ];

Or, if you're into Lua:

updateNewInlineCallbackQuery={_='updateNewInlineCallbackQuery', id=long, sender_user_id=int, inline_message_id=string, chat_instance=long, payload=CallbackQueryPayload, }