[RFC] custom id on Contact
Created by: windmemory
Recently while working on wechaty-puppet-padpro
project, I found that there is a way to get the real wechat id from underlying service. So for each contact, there will be two ids, one is wxid, which is allocated by wechat system, the other one is the use name, which is created by the user.
I am suggesting here to have an optional customId
field on Contact
class. For developers who want to get the real wechat id, they could try to get the customId
first, then fallback to the id
, in this way, they will get the id that same as the one on wechat.
Does this make sense?