Skip to main content

Action: Update message (Telegram)

How to delete buttons after clicking. How to delete the previous message sent by the bot.

i
Written by interpreter
Updated yesterday

This action edits the last message sent by the bot. You can either delete the previous message entirely or remove the buttons from the previous message.

Let's look at both options below:

First action: "Delete buttons". After clicking the button, the user will receive message 2, but all the buttons in message 1 will be removed:

This action can be used when creating tests, so the user cannot change their answer, or when it is necessary to prohibit the repeated passage of a specific part of the chain.

Second action: "Delete message". After clicking the button, the user will receive message 2, and message 1 will be deleted:

Did this answer your question?