You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ console.log(`Authorization access to contacts is: ${authStatus}`)
48
48
49
49
### contacts.getAllContacts([extraProperties])
50
50
51
-
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, `contactThumbnailImage`, or `socialProfiles`.
51
+
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, `contactThumbnailImage`, `instantMessageAddresses`, or `socialProfiles`.
52
52
53
53
Returns `Array<Object>` - Returns an array of contact objects.
54
54
@@ -69,6 +69,7 @@ The returned objects will take the following format:
69
69
*`contactImage` Buffer (optional) - a Buffer representation of the contact's profile picture.
70
70
*`contactThumbnailImage` Buffer (optional) - a Buffer representation of The thumbnail version of the contact’s profile picture.
71
71
*`socialProfiles` Object[] (optional) - An array of labeled social profiles for a contact.
72
+
*`instantMessageAddresses` Object[] (optional) - An array of labeled IM addresses for the contact.
72
73
73
74
This method will return an empty array (`[]`) if access to Contacts has not been granted.
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, `contactThumbnailImage`, or `socialProfiles`.
99
+
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, `contactThumbnailImage`, `instantMessageAddresses`, or `socialProfiles`.
99
100
100
101
Returns `Array<Object>` - Returns an array of contact objects where either the first or last name of the contact matches `name`.
101
102
@@ -118,6 +119,7 @@ The returned object will take the following format:
118
119
*`contactImage` Buffer (optional) - a Buffer representation of the contact's profile picture.
119
120
*`contactThumbnailImage` Buffer (optional) - a Buffer representation of The thumbnail version of the contact’s profile picture.
120
121
*`socialProfiles` Object[] (optional) - An array of labeled social profiles for a contact.
122
+
*`instantMessageAddresses` Object[] (optional) - An array of labeled IM addresses for the contact.
121
123
122
124
This method will return an empty array (`[]`) if access to Contacts has not been granted.
0 commit comments