Skip to main content
MindStudio
Pricing
Blog About
My Workspace
Telegram

Edit Telegram Message

The Edit Telegram Message block updates the text of a message that was previously sent by a Telegram bot.

Edit a previously sent Telegram bot message

The Edit Telegram Message block updates the text of a message that was previously sent by a Telegram bot. It targets a specific message using its message ID and replaces the existing text with new content, supporting MarkdownV2 formatting in the updated text. This block is intended to work alongside the Send Telegram Message block, which returns the message ID needed to identify which message to edit.

The block requires four inputs: a bot token in the format botId:token, a chat ID identifying the conversation, a message ID pointing to the specific message to update, and the new text to replace the original content. The block does not return a value — its output is void, meaning it performs an action without producing data for downstream steps.

This block fits into workflows where a bot sends an initial message and then needs to update it after completing a task. It is also useful in any scenario where a bot needs to correct or revise content it has already delivered to a chat.

What you can build

Real-world workflows powered by the Edit Telegram Message block.

Update Processing Status Messages

Send a 'Processing...' placeholder message when a task begins, then edit it with the final result once the workflow completes.

Live Report Delivery

Send an initial report draft to a Telegram chat and edit it with finalized data once all calculations or API calls have resolved.

Approval Workflow Updates

Post a pending approval notification to a Telegram group and edit the message to reflect the approved or rejected status after a decision is recorded.

Error Correction in Bot Messages

Detect a formatting or content error in a previously sent bot message and replace it with corrected text without sending a new message.

AI Response Streaming Simulation

Send an initial message and progressively edit it with updated AI-generated content to simulate a streaming output experience in Telegram.

Task Completion Notifications

Replace a 'Task queued' message with a 'Task complete' confirmation once a background job finishes, keeping the chat history concise.

Ready to add Edit Telegram Message to your workflow?

Get Started Free

Common questions about Edit Telegram Message

What parameters does this block require?

The block requires four inputs: a bot token in the format botId:token, a chat ID identifying the target conversation, a message ID specifying which message to edit, and the new text to replace the original message content.

What does the block return?

The block returns void, meaning it does not produce any output data. It performs the edit action but does not pass a value to subsequent steps in the workflow.

Where does the message ID come from?

The message ID is returned by the Send Telegram Message block. You need to use that block first to send a message, then pass its returned message ID into this block to identify which message to edit.

Does the new message text support formatting?

Yes, the text field supports MarkdownV2 formatting, which is the formatting syntax used by the Telegram Bot API.

What kinds of workflows commonly use this block?

This block is commonly used in workflows that send a placeholder or status message at the start of a task and then update it with a result once the task finishes. It is also used in approval flows, report delivery, and any scenario where a bot message needs to be revised after it has been sent.

Add Edit Telegram Message to your workflow

Build powerful AI workflows with drag-and-drop blocks. No coding required.