A
A
AndreyVitovtov2021-03-12 10:31:50
Telegram
AndreyVitovtov, 2021-03-12 10:31:50

Telegram bot receives a notification that the user has changed/deleted a message?

Please tell me, if a user in a chat with a bot changes or deletes his message, does the bot receive a notification to the webhook address? And I didn't find it anywhere.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tema Smirnov, 2021-03-12
@AndreyVitovtov

According to the documentation (as of March 2021), the bot can receive notifications from TG that the user has changed their message, but does not receive a notification if the message was deleted by the user.
https://core.telegram.org/bots/api#update - edited_message
To make it easier to test different events that a bot can receive from a user, I advise you to use this bot: https://t.me/RawDataBot - will send messages the body of the received notification from TG.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question