Is it possible to get callbacks in the webhook whenever a user reads the message sent by the bot, using Telegram bot API?
It is not documented, and I cannot figure out a way how to achieve it.
Is it possible to get callbacks in the webhook whenever a user reads the message sent by the bot, using Telegram bot API?
It is not documented, and I cannot figure out a way how to achieve it.
Telegram actually provides two APIs:
The feature you are looking for is not available via the Bot API, rather it's only available via Telegram API.
Also
1 check = message delivered to the Telegram cloud (and is waiting for your chat partner to see it in Telegram), notification sent (if the recipient is accepting notifications).
2 checks = message read (recipient opened Telegram and the conversation with your message).
We don't have an additional status for 'message delivered to device', because you can use Telegram on multiple devices simultaneously. Since you don't know which one of their devices the person is actually using, delivery to one of the devices becomes irrelevant. [Telegram Support]
As other answered, the feature you are looking for is not available via the Bot API.
That's, for me, conceptually, a BUG, or at least a Change request (CR).
Using Telegram API instead of Bot API is a workaround. :(
We need to ask Telegram the CR, implicitly pointed out on the original question by @user7518s.
BTW: it could be great to have a callback for voice/media messages. In case of a long audio (or video) message, for example, it could be useful to know if the message is completely listened (or watched) with timestamp of interruption in case of a message partially listened (watched)!
At the moment this feature is not available with Telegram Bot API.
We don‘t have a ’delivered to device' status for messages because Telegram can run on as many devices as you want. So which particular one would that check mean?
FAQ: https://telegram.org/faq#q-what-do-the-green-checks-mean
EDIT
You can achieve the read status of messages using the regular Telegram API (https://core.telegram.org/methods)
© 2022 - 2024 — McMap. All rights reserved.