SDKsAndroid
Create a merged message
Use createMergerMessage to combine multiple messages into one summary message.
Pass the message list, title, and summary list.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
messages | List<Message> | Yes | Messages to display in the merged item, in the intended order. |
title | String | Yes | Title of the merged-message card. |
summaries | List<String> | Yes | Summaries used in the card or conversation list, ordered consistently with the content. |
Message message = OpenIMClient.getInstance().messageManager.createMergerMessage(
messages, title, summaries);The returned Message is only a local pending object. Filter messages that cannot be forwarded or contain sensitive content, and limit the item count and summary length before continuing with Send a message.
Was this page helpful?