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.
The FAQ reads: All bots, regardless of settings, will receive: All service messages. All messages from private chats with users.
At present bots can't start video/voice calls, but there are some libraries such as tgcalls and pytgcalls were you can programmatically achieve it through a user.
CallbackQuery. This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present.
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]
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)
Related topic
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With