Telegram and Widget allow editing messages sent from the operator to the bot client
To enable this option, it is necessary to add the key op_show_message_edit
with the value 1
in the instance settings:
Key creation in instance settings
To disable this option, accordingly, you need to enter the key name in the deletion field in the instance settings:
Key deletion in instance settings
<aside> 💡
These connection settings are performed by administrators; to make changes, it is necessary to contact technical support
</aside>
When the option is activated, an edit icon appears in the operator panel when hovering over a message sent by the operator. Clicking on it allows you to edit the message. The bot client will see the modified message.
Edit icon
<aside> 📢
Due to Telegram messenger limitations, this functionality will not work if the client connected to the operator panel with a button (for example, "end conversation")
</aside>
<aside> ℹ️
This situation arises due to a limitation in the Telegram API, which does not support editing messages sent through interactive elements (such as buttons). When a client interacts with the bot via a button, Telegram considers that the message has already fulfilled its function and no longer allows it to be edited. This messenger limitation affects how the editing function works in the operator panel, as it cannot modify a message that was sent using elements like buttons.
</aside>
Therefore, to support the message editing function, it is necessary to avoid messages sent using buttons. Otherwise, editing such messages will be impossible.