Other chat features
#
Get Jid based on Username/UseridUse 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 GroupidUse the below method to generate your own or others GroupJID using the GroupId.
#
Example Request#
Example Response#
Get Message based on MsgIdUse the below method to get the message using the messageId which you got.
#
Example Request#
Example Response#
EmojisOur service allows you to send emojis of any kind, without any encryption.
#
Translate Message#
Get All Available Translate LanguagesRetrives 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 RequestRetrives the Translated Text for the provided Text with Target Language.
Response:
#
Translate the Messagecaution
If Translation feature is unavailable for your plan, then it will throw 403 exception
#
Example RequestResponse:
#
User SettingsHandles User Settings for Archived Chats.
#
Get User Settings#
Response Format:#
Update User Settings#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
IS_PERMANENT_ACHIVE_ENABLED | true - Permanent, false - Temporary | Boolean | true |
#
User Profile DetailsHandles User Profile Respone, when Get User Profile method called. Receives object values.
#
Response Format:#
Last Seen TimeHandles 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 MessagesHandles Recent Chat Respones, when Get Recent Chats method called. Receives an array of object values.
#
Response Format:#
Single Chat Conversation History MessagesHandles Single Chat Respones, when Get Chat Messages method called. Receives an array of object values.
#
Response Format:#
Media MessagesHandles Single/Group Chat Media Respones, when Get Media Messages method called. Receives an array of object values.
#
Response Format:Sample Response:
#
Reply MessageHandles Reply Message Respones, when Get Reply Messages method called. Receives object values.
#
Response Format:#
Groups ListHandles Groups lists Respones, when Get All Groups method called. Receives an array of object values.1
#
Response Format:#
Group Participants ListHandles Groups Participants list Respones, when Get Group Participant method called. Receives an array of object values.
#
Response Format:#
Group Chat Conversation History MessagesHandles Group Chat Messages Respones, when Get Chat Messages method called. Receives an array of object values.
#
Response Format:#
Group Message InfoHandles Group Message Info Respones, when Get Group Message Info method called. Receives an array of object values.
#
Response Format:#
Users I BlockedHandles 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 MeHandles 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 AdminHandles 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 UserUse the below method to get your own metaData.
#
Example Response#
Update MetaData For UserUse the below method to update your own metaData.
#
Request ParamStatus | 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_MetaDataArguments | Description | Type |
---|---|---|
key | Name of the Key | String |
value | Name of the value | String or Boolean or Number |
#
Example Responsenote
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.