docs/PrivateContact.html
idisBlockedisBusinessisEnterpriseisGroup
isMeisMyContactisUserisWAContactname
block()getAbout()getBroadcast()
getChat()getCommonGroups()getCountryCode()
getFormattedNumber()getProfilePicUrl()unblock()
ExtendsContact
ID that represents the contact
Inherited fromContact#id
Indicates if you have blocked this contact
Inherited fromContact#isBlocked
Indicates if the contact is a business contact
Inherited fromContact#isBusiness
Indicates if the contact is an enterprise contact
Inherited fromContact#isEnterprise
Indicates if the contact is a group contact
Inherited fromContact#isGroup
Indicates if the contact is the current user's contact
Inherited fromContact#isMe
Indicates if the number is saved in the current phone's contacts
Inherited fromContact#isMyContact
Indicates if the contact is a user contact
Inherited fromContact#isUser
Indicates if the number is registered on WhatsApp
Inherited fromContact#isWAContact
The contact's name, as saved by the current user
Inherited fromContact#name
Contact's phone number
Inherited fromContact#number
The name that the contact has configured to be shown publically
Inherited fromContact#pushname
A shortened version of name
Inherited fromContact#shortName
async
Blocks this contact from WhatsApp
Inherited fromContact#blockReturns async
Gets the Contact's current "about" info. Returns null if you don't have permission to read their status.
Inherited fromContact#getAboutReturns async
Gets the Contact's current status broadcast.
Inherited fromContact#getBroadcastReturns async
Returns the Chat that corresponds to this Contact. Will return null when getting chat for currently logged in user.
Inherited fromContact#getChatReturns async
Gets the Contact's common groups with you. Returns empty array if you don't have any common group.
Inherited fromContact#getCommonGroupsReturns async
Returns the contact's countrycode, ([email protected]) => (1)
Inherited fromContact#getCountryCodeReturns async
Returns the contact's formatted phone number, ([email protected]) => (+1 (234) 5678-901)
Inherited fromContact#getFormattedNumberReturns async
Returns the contact's profile picture URL, if privacy settings allow it
Inherited fromContact#getProfilePicUrlReturns async
Unblocks this contact from WhatsApp
Inherited fromContact#unblockReturns