wechaty / wechaty-puppet-padplus

DEPRECATED: One puppet based on iPad protocal for Wechaty
https://wechaty.js.org/docs/puppet-services/
315 stars 65 forks source link

How to get contact in a room by wechat id #251

Open treeguard opened 4 years ago

treeguard commented 4 years ago

Is your feature request related to a problem? Please describe. As title, I don't think the API exists now. There is a Room.query or Room.queryAll which can search people by name. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen. we can have a API like, queryById under the Room class. Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. I can for example, pull out all contacts in a room and find out the matched id but I am not sure if this will get detected by wechat and then marked as a robot.

Additional context Add any other context or screenshots about the feature request here.

[enhancement]