Retrieve Profile Details
#
Get User Profile DetailTo get the Profile detail of the user, send a request as described below.
#
Request ParamStatus | Description | Type | Required |
---|---|---|---|
TO_USER_JID | JID of the To User | JID String | true |
#
Response Format:note
userprofilelistener also will be triggered with the same response.
#
Download Profile ImageThis method is used to get the media file url when we download the profile image.
#
Request ParamStatus | Description | Type | Required |
---|---|---|---|
fileToken | File Url | String | true |
filekey | File key is optional param, which we get from the selected Media message Body | String | false |
#
Example Requests#
Response Format#
Get User's Last Seen TimeTo get the user's last seen, send a request as described below.
#
Request ParamStatus | Description | Type | Required |
---|---|---|---|
TO_USER_JID | JID of the To User | JID String | true |
#
Response Format:#
Get Current User JidTo get the Jid of the logged in user.
#
Response ParamsArguments | Description | Type |
---|---|---|
statusCode | Status Code | Number |
message | Success/Error Message | String |
userJid | JID of the User | JID String |
#
Get User TokenGenerates and retrives new usertoken to access the API.
#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
USERNAME | Username | String | true |
PASSWORD | Password | String | true |
#
Response ParamsArguments | Description | Type |
---|---|---|
statusCode | Status Code | Number |
message | Success/Error Message | String |
userToken | User Token | String |