Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

无法获取调用room.say() 或 contact.say() 后的消息ID #112

Closed
zhaokefei opened this issue Jul 21, 2018 · 1 comment
Closed

无法获取调用room.say() 或 contact.say() 后的消息ID #112

zhaokefei opened this issue Jul 21, 2018 · 1 comment

Comments

@zhaokefei
Copy link

由于调用 say() 方法发送的消息,不会再次触发 message 这个event,所有无法拿到消息ID

需要拿到该消息ID的原因:如果群内有多个机器人时,可以根据消息ID来判断是不是同一条消息,可以保证只往上游服务一个群内同一条消息只发送一次,但是调用的say方法发送的消息无法拿到消息ID,这时候就无法保证消息往上游只推送一次。

@windmemory
Copy link
Member

This is a change involve wechaty project, so move to another repository.

wechaty/wechaty#1501

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants