gpt4 book ai didi

webhooks - Telegram bot 消息读取回调

转载 作者:行者123 更新时间:2023-12-03 20:47:06 30 4
gpt4 key购买 nike

每当用户使用 Telegram bot API 读取机器人发送的消息时,是否可以在 webhook 中获取回调?

它没有记录,我无法弄清楚如何实现它。

最佳答案

Telegram 实际上提供了两个 APIs :

  • Bot API允许您轻松创建将 Telegram 消息用于接口(interface)的程序。
  • Telegram API允许您构建自己的定制 Telegram 客户端。

  • 您正在寻找的功能无法通过 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/

    30 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com