Contact
iOS Contact APIS
Get contact list
Input Parameters:
user_id
NSString
user id string
true
Output Parameters
MXContactsListResponse
Add user as a contact
Input Parameters:
userId
NSString
user id string
true
contactId
NSString
contact id string
true
tags
NSArray
tags NSArray
false
isRoom
bool
whether is a direct message
true
Remove contact
Input Parameters:
userId
NSString
user id string
true
contactId
NSString
contact id string
True
isRoom
BOOL
whether is a direct message
True
Output Parameters:
success
block
A block object called when the operation succeeds
true
failure
block
A block object called when the operation fails.
true
The methods below are deprecated. Please avoid using them.
(Deprecated) Get contact list
Parameters:
user_id
string
user id string
true
Returns
MXContactsListResponse
(Deprecated) Add user as a contact
Parameters:
user_id
string
user id string
true
contactId
string
contact id string
true
isRoom
bool
whether is a direct message
true
(Deprecated) Remove contact
Parameters:
user_id
string
user id string
true
contactId
string
contact id string
True
isRoom
bool
whether is a direct message
True
Last updated