Max icon

Max

Interact with Max messenger

Message → Answer Callback Query

AI-generated

Summary

Send a response to a callback query from an inline keyboard button, optionally including a notification text to display to the user.

Inputs

  • Callback Query ID (required) — The ID of the callback query to answer.
  • Response Text — Optional notification text to show to the user upon answering the callback query.

Output shape

a JSON object confirming success and echoing the callback query ID and notification text if provided.

Returns an object indicating success, including the callback_query ID and the notification text sent. Throws detailed errors on failure.

Links

Discussion