Contact
JavaScript Contact APIs
Get contact list
Name
Parameters Description
Response
getFavouriteList()
N/A
people: list contacts
rooms: list of chat rooms
Add user as a contact
Name
Parameters Description
Response
addFavourite(targetId, isDm)
targetId
: user idisDm
: whether is a direct message
N/A
Remove contact
Name
Parameters Description
Response
deleteFavourite(targetId, isDm)
targetId
: user idisDm
: whether is a direct message
N/A
Last updated