Telegram 机器人消息读取回调

Telegram bot message read callback

是否可以在用户使用 Telegram bot API 阅读 bot 发送的消息时在 webhook 中获得回调?

它没有记录,我想不出实现它的方法。

目前此功能不适用于 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?

常见问题解答: https://telegram.org/faq#q-what-do-the-green-checks-mean


编辑

您可以使用常规电报实现消息的已读状态API (https://core.telegram.org/methods)


Related topic

Telegram 实际上提供了两个 APIs:

  • Bot API 允许您轻松创建使用 Telegram 消息作为界面的程序。
  • Telegram API 允许您构建自己的自定义 Telegram 客户端。

您正在寻找的功能无法通过 Bot API 获得,而只能通过 Telegram API 获得。

还有

1 check = 消息已发送到 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]

正如其他人的回答,您正在寻找的功能无法通过 Bot API。

对我来说,这在概念上是一个 BUG,或者至少是一个变更请求 (CR)。

使用 Telegram API 而不是 Bot API 是一种解决方法。 :(

我们需要向 Telegram 询问 CR,@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)!