Other chat features
Get Jid based on Username/Userid#
Use the below method to generate your own or others JID using the unique username got in registration response.
Example Request#
Example Response#
Get GroupJid based on Groupid#
Use the below method to generate your own or others GroupJID using the GroupId.
Example Request#
Example Response#
Get Message based on MsgId#
Use the below method to get the message using the messageId which you got.
Example Request#
Example Response#
Emojis#
Our service allows you to send emojis of any kind, without any encryption.
Translate Message#
Get All Available Translate Languages#
Retrives all Available languages for the Translate from the Google API.
caution
If Translation feature is unavailable for your plan, then it will throw 403 exception
Example Request#
Retrives the Translated Text for the provided Text with Target Language.
Response:
Translate the Message#
caution
If Translation feature is unavailable for your plan, then it will throw 403 exception
Example Request#
Response:
User Settings#
Handles User Settings for Archived Chats.
Get User Settings#
Response Format:#
Update User Settings#
Request Params#
| Status | Description | Type | Required |
|---|---|---|---|
IS_PERMANENT_ACHIVE_ENABLED | true - Permanent, false - Temporary | Boolean | true |
User Profile Details#
Handles User Profile Response, when Get User Profile method called. Receives object values.
Response Format:#
Last Seen Time#
Handles Last Seen Time Respone, when Get Last Seen method called. Receives object values.
Response Format:#
Note: If the seconds is
0, then the requested user isOnline
Recent Chat Messages#
Handles Recent Chat Respones, when Get Recent Chats method called. Receives an array of object values.
Response Format:#
Single Chat Conversation History Messages#
Handles Single Chat Respones, when Get Chat Messages method called. Receives an array of object values.
Response Format:#
Media Messages#
Handles Single/Group Chat Media Response, when Get Media Messages method called. Receives an array of object values.
Single Chat Response Format:#
Sample Response:
Group Chat Response Format:#
Sample Response:
Reply Message#
Handles Reply Message Response, when Get Reply Messages method called. Receives object values.
Response Format:#
Groups List#
Handles Groups lists Respones, when Get All Groups method called. Receives an array of object values.
Response Format:#
Group Participants List#
Handles Groups Participants list Response, when Get Group Participant method called. Receives an array of object values.
Response Format:#
Group Chat Conversation History Messages#
Handles Group Chat Messages Respones, when Get Chat Messages method called. Receives an array of object values.
Response Format:#
Set Group Profile#
Handles the set group Profile response, when Set Group profile method called. Receives Object values.
Response Format:#
Get Group Profile#
Handles the Get group Profile response, when Get Group profile method called. Receives Object values.
Response Format:#
Group Message Info#
Handles Group Message Info Respones, when Get Group Message Info method called. Receives an array of object values.
Response Format:#
Users I Blocked#
Handles Blocked List IQs (Users who are all blocked by the current user), triggered when Get Users I Blocked method called. Receives an array of object values.
Response Format:#
Users Who Blocked Me#
Handles Blocked Users List IQs (Users who have blocked the current user), triggered when Get Users Who Blocked Me method called. Receives an array of object values.
Response Format:#
User/Group Blocked/Unblocked By Admin#
Handles Blocked/Unblocked response from Admin Console for the user/group. This response is triggered when the console admin particularly blocks/unblocks an user/group in Callback adminBlockListener. Receives Blocked User/groups 's UserId and Jid with blocked status.
Response Format:#
Get MetaData For User#
Use the below method to get your own metaData.
Example Response#
Update MetaData For User#
Use the below method to update your own metaData.
Request Param#
| Status | Description | Type | Required |
|---|---|---|---|
Update_MetaData | Update_MetaData is an optional parameter to update MetaData of user. Maximum size is 3 | Object | false |
Request Input for Update_MetaData#
| Arguments | Description | Type |
|---|---|---|
| key | Name of the Key | String |
| value | Name of the value | String or Boolean or Number |
Example Response#
note
You didn't pass param (Update_MetaData) to updateMetaData SDK method, it should be considered as a null and updated user MetaData as a null.