是否可以通过电报(而不是bot)从用户获得在线传入消息?

发布于 2025-01-28 18:46:16 字数 306 浏览 2 评论 0 原文

我需要使用此协议 https://pusher.com/docs/channels/library_auth_reference/pusher-websockets-protocol/ ,我已经阅读了有关在Telegram API中获取消息的信息,但是只有机器人才有可能。

I need to get all incoming messages from all possible social media and redirect them in one app, using this protocol https://pusher.com/docs/channels/library_auth_reference/pusher-websockets-protocol/, I've read about getting messages in telegram API, but it's possible only with bots.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

等数载,海棠开 2025-02-04 18:46:16

您是否尝试过 telegram-cli

Have you tried telegram-cli yet?

北方。的韩爷 2025-02-04 18:46:16

https://github.com/LonamiWebs/Telethon is a Python 3 library which works both with regular users and bots

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文