api.getCallbackQueryMessage()
Returns information about a message with the callback button that originated a callback query; for bots only
Parameters
GetCallbackQueryMessageParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Identifier of the chat the message belongs to |
messageId | number | Message identifier |
callbackQueryId | string | Identifier of the callback query |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'getCallbackQueryMessage' | 'error'
airgram: Airgram
request: {
method: 'getCallbackQueryMessage'
params: GetCallbackQueryMessageParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}