每当用户使用 Telegram bot API 读取机器人发送的消息时,是否可以在 webhook 中获取回调?
它没有记录,我无法弄清楚如何实现它。
最佳答案
Telegram 实际上提供了两个 APIs :
您正在寻找的功能无法通过 Bot API 获得,而只能通过 Telegram API 获得。
还
1 次检查 = 消息已发送到 Telegram 云(正在等待您的聊天伙伴在 Telegram 中看到它),已发送通知(如果收件人正在接受通知)。
2 次检查 = 已阅读消息(收件人打开 Telegram 并与您的消息进行对话)。
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]
关于webhooks - Telegram bot 消息读取回调,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42262503/