【问题标题】:Telethon How do I get channel messages?Telethon 我如何获得频道消息?
【发布时间】:2018-05-02 23:59:20
【问题描述】:

Python 马拉松

我需要从频道接收消息

错误:

>>> client.get_message_history(-1001143136828)

Traceback(最近一次调用最后一次):

文件“messages.py”,第 23 行,在 总计,消息,发件人 = client.get_message_history(-1001143136828)

文件“/Users/kosyachniy/anaconda/lib/python3.5/site-packages/telethon/telegram_client.py”,第 548 行,在 get_message_history add_mark=真

密钥错误:1143136828

【问题讨论】:

    标签: python api telegram telethon


    【解决方案1】:

    库中的错误

    需要更新:pip install telethon --upgrade

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-07-17
      • 2021-04-11
      • 1970-01-01
      • 1970-01-01
      • 2019-11-26
      • 1970-01-01
      • 1970-01-01
      • 2022-07-16
      相关资源
      最近更新 更多