Skip to content

v1.3.7: Add message revoke (#370)

Compare
Choose a tag to compare
@littlecodersh littlecodersh released this 29 May 02:25
· 11 commits to master since this release

增加了消息撤回方法,示例如下:

import itchat

itchat.auto_login(True)

user = itchat.search_friends(nickName='LittleCoder')[0]
r = user.send('hi')
msgId = r['MsgID']
r = itchat.revoke(msgId, user.userName)

itchat.run()