DEV Community

Abdulloh1169
Abdulloh1169

Posted on

Telegram bot api sends the same message when channel post edited or reacted to post in first time

There is a telegram bot that shares the messages from main channel to other channels and groups.

When message in main channel is changed bot resends this post to other channels. It worked well until we enable reactions to posts. Event channel post text is not changed if message is reacted telegram bot api sends the same "edited_channel_post" request and bot resends posts. Is there anyway to check if channel post text or media is realy changed or message is just reacted?

Top comments (0)