Skip to content

发送消息有时候会丢? #30

Description

@daoiqi

运行两次,

client = itchat.new_instance()
client.auto_login(hotReload=True, statusStorageDir='newInstance.pkl')
client.send_msg(msg, toUserName=name)

在测试时,发送给同一个人消息,第一次发消息扫描二维码,可以发送成功, 第二次消息会丢。

返回的json

{'LocalID': '1480947357859', 'BaseResponse': {'RawMsg': '请求成功', 'Ret': 0, 'ErrMsg': '请求成功'}, 'MsgID': '3373485233876127949'}

感觉使用web的网页给某个人发消息, 是可以成功的。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions