Forward Messages
Forwarding feature helps the app users to share the single/multiple messages to one or more users.
Forward messages to single user#
if you want to forward the messages for the chat user, you can utilise the below method.
| Argument | Type | Description |
|---|---|---|
| MESSAGE_ID_LIST | List<String> | list of message id's |
| TO_JID | String | jid of the chat user |
| CHAT_TYPE | ChatTypeEnum | ChatTypeEnum.chat for single chat, ChatTypeEnum.groupchat for group chat, ChatTypeEnum.broadcast for broadcast |
| CALLBACK | ChatActionListener | callback to observe the action status |
- Java
- Kotlin
Forward messages to multiple users#
if you want to forward the messages to the multiple users, you can utilise the below method.
| Argument | Type | Description |
|---|---|---|
| MESSAGE_ID_LIST | List<String> | list of message id's |
| ROSTER_LIST | List<String> | jid list of the chat users |
| CALLBACK | ChatActionListener | callback to observe the action status |
- Java
- Kotlin