英文:
Telethon: Use same session_string at once
问题
我有我的客户端在线(回应用户消息),同时我也有一个发送新闻的邮件程序。
因此,在某个时间点,同时有两个具有相同会话字符串的客户端。
似乎第一个(主要)客户端在第二个(发件人)使用会话字符串发送一些消息后停止工作。
如何解决这个问题?是否可能在两个客户端中同时使用相同的会话字符串?
谢谢
英文:
I have my client online (answer to user messages), but also I have mailer that sends news sometimes.
Because of that at some point of time there is two clients with same session string at once.
It seems like first (main) client stops working after second (mailer) sends some messages with session string.
How to fix that? Is it possible to use same session_string at the same time in two clients?
Thank you
答案1
得分: 1
Telegram不喜欢您在多个地方使用相同的会话。正确的做法是登录两次,从而维护同一帐户的两个独立会话。
英文:
Telegram doesn't like it when you use the same session from multiple places. The correct approach would be to login two separate times and thus maintain two separate sessions for the same account.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论