Contact
All wechat contacts(friend) will be encapsulated as a Contact.
Classes
Typedefs
Contact
contact.say(textOrContactOrFileOrUrlLinkOrMiniProgram) ⇒ Promise <void>
Promise <void>contact.name() ⇒ string
stringcontact.alias(newAlias) ⇒ Promise <null | string | void>
Promise <null | string | void>contact.friend() ⇒ boolean | null
boolean | nullcontact.type() ⇒ ContactType.Unknown | ContactType.Personal | ContactType.Official
ContactType.Unknown | ContactType.Personal | ContactType.Officialcontact.gender() ⇒ ContactGender.Unknown | ContactGender.Male | ContactGender.Female
ContactGender.Unknown | ContactGender.Male | ContactGender.Femalecontact.province() ⇒ string | null
string | nullcontact.city() ⇒ string | null
string | nullcontact.avatar() ⇒ Promise <FileBox>
Promise <FileBox>contact.sync() ⇒ Promise <void>
Promise <void>contact.self() ⇒ boolean
booleanContact.find(query) ⇒ Promise <Contact | null>
Promise <Contact | null>Contact.findAll([queryArg]) ⇒ Promise <Contact []>
Promise <Contact []>definition
ContactQueryFilter
Last updated
Was this helpful?