Retrieve Messages
#
Get Reply MessageTo get the reply message by message id, send a request to the server as described below.
#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
REPLY_MESSAGE_ID | Reply Message ID | String | true |
CHAT_TYPE | Chat Type | String | false |
Note: CHAT_TYPE values are "chat"/"groupchat"
#
Response Format#
Get Media MessagesTo get the media messages for the particular chat, on initial request it fetches three media. Then on the pagination request by passing the last message-id, it fetches 10 next media messages.
caution
If getMediaMessages feature is unavailable for your plan, then it will throw 403 exception
Without Pagination
With Pagination
#
Request ParamStatus | Description | Type | Required |
---|---|---|---|
TO_USER_JID | JID of the To User | JID String | true |
LAST_MESSAGE_ID | Last Message ID of Pagination | String | false |
#
Response Format#
Get Chat MessagesTo get the chat history of the selected user, send a request to the server as described below.
Without Pagination
With Pagination
Example
#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
TO_JID | JID of the To User/Group | JID String | true |
POSITION | Position for Pagination | String | false |
LAST_ROW_ID | Last Row ID of Pagination | String | false |
LIMIT | Pagination Limit | Number | false |
Note: POSITION - Accepts "down"/"up"
#
Response Format#
Get Message based on MsgIdUse the below method to get the message using the messageId which you got.
#
Example Request#
Response Format#
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 Format:#
Translate the Messagecaution
If Translation feature is unavailable for your plan, then it will throw 403 exception