Room announcement is not working properly for some puppet implementation
Created by: windmemory
Today we tested the room announcement feature with wechaty-puppet-padpro
.
Seems like the room announcement is a special type of message, which mentions everyone in the room, and the data structure is different from the regular messages. So calling the mention()
or mentionSelf()
method on an announcement message will throw out errors with wechaty-puppet-padpro
. I haven't got time to pull out the actually message content yet, will do this later, but before that, I wondered how should we handle such message, and would like to start the discussion about the way that we deal with such kind of message.
Shall we put all room members in the message.mention()
call? Or we could have some other message type?
Please let me know what you think @huan
After we have conclusion of how to deal with the room announcement message, we need to fix the room announcement implementation in wechaty-puppet-padpro
, issue here: https://github.com/botorange/wechaty-puppet-padpro/issues/166
Other puppet implementation needs to check the function is working as expected.