使用相同的 session_string 即可。

huangapple go评论45阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年4月4日 06:16:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/75924136.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定