title tells all.
const contactList = await Contact.findAll()
learn more from the example: contact-bot
@lijiarui thank you very much, but, to be honest, such a useful method should be displayed in project's wiki, so we can not miss.
yep, you are right, I just added in the wiki:
what's more, wechaty can find contact by remark and name, learn more in the wiki:
https://github.com/wechaty/wechaty/wiki/API#contact-query-type
@lijiarui thank you very much.
Most helpful comment
yep, you are right, I just added in the wiki:
what's more, wechaty can find contact by remark and name, learn more in the wiki:
https://github.com/wechaty/wechaty/wiki/API#contact-query-type