Forward Messages

To forward an message to the single chat, we use following methods.

Forward Single Messages to Multiple User#

await SDK.forwardMessagesToMultipleUsers(`TO_JIDS`, `MESSAGE_IDS`, `IS_ASYNC`, `NEW_MSG_IDS`);

Request Param#

StatusDescriptionTypeRequired
TO_JIDSArray of To User/JID of the To UsersArraytrue
MESSAGE_IDSArray of To Original Message IdsArraytrue
IS_ASYNCIF Forward has to be in Asynchronous (One by One) - Default trueBooleanfalse
NEW_MSG_IDSArray of To Message IdsArrayfalse

Response Format#

{
statusCode: "", // Number - status code
message: "", // String - Success/Error Message
}