ActionTelegramUpdated June 2026

How do I respond to an inline keyboard button press?

Short answer: You can answer callback query in Telegram by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Telegram Answer Callback Query action to a workflow, map its 3 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Answer Callback Query in Telegram — start free
Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Callback Query ID
callback_query_id
stringRequiredCallback Query ID
Notification Text
text
stringOptionalNotification Text
Show Alert
show_alert
optionsOptionalShow Alert. Options: No, Yes
Sample request
{
"callback_query_id": "{{trigger.callback_query_id}}",
"text": "{{trigger.text}}",
"show_alert": "{{trigger.show_alert}}"
}
Returns
{
"ok": true,
"result": true
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Answer Callback Query.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Answer Callback Query.

What does the Answer Callback Query action do in Telegram?
Acknowledges a callback query from a Telegram inline keyboard button, optionally showing a toast or alert to the user. Required to remove the "loading" spinner on the tapped button.
What inputs does Answer Callback Query require?
Required: Callback Query ID. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Telegram returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Answer Callback Query support batch operations?
Yes. Run Answer Callback Query inside a Loop node to process arrays. TinyCommand handles Telegram's rate limits automatically so you don't have to throttle manually.
More actions

Other Telegram actions.

Action
Delete Message
Deletes a message from a Telegram chat. Bots can only delete their own messages (or any message in groups where they're admin); messages older than 48 hours in private chats cannot be deleted.
Action
Edit Message Text
Edits the text of a message the bot previously sent. Great for updating progress messages, vote tallies, or live status without spamming the chat with new messages.
Action
Forward Message
Forwards a message from one Telegram chat to another, preserving the original sender. Useful for mirroring an announcement to multiple groups.
Action
Get Bot Info
Returns metadata about the bot itself: ID, name, username, and capability flags. Mostly used as a connection-check during setup.
Action
Get Chat
Returns information about a Telegram chat (title, type, description, photo, member count for groups). Use to enrich an event with chat context before posting.
Action
Get Chat Administrators
Lists the administrators of a Telegram group or channel, including their per-admin permission flags. Useful for moderation tools that need to know who can act.
Answer Callback Query in Telegram — start free