Users & Contacts List

User List#

To retrieve all registered users on MirrorFly SDK use below method. User list can also be retrieved based on search key word, also this method supports pagination. This function will return the total number of pages.


User presence and Profile instant update will not happen until a messege is sent to that particular user.

await SDK.getUsersList(`SEARCH_TERM`, `PAGE_NUMBER`, `LIMIT`);

Request Params#

SEARCH_TERMSearch term to search against the name default value is emptyStringfalse
PAGE_NUMBERPage number to get the particular pages default value is 1Numberfalse
LIMITLimit to set the number of users per page default value is 30Numberfalse

Response Params#

statusCodeStatus CodeNumber
messageSuccess/Error MessageString
totalPagesTotal pages based on the limitNumber
totalUsersTotal users registered to the applicationNumber
usersArray of Users ObjectArray

Check here for response format of users.