parse Combine Msg Items From Json
public final List<CombineMsgItem> parseCombineMsgItemsFromJson(<Error class: unknown class> jsonArray)
Parses a list of CombineMsgItem from a JSON array.
This method handles the complete parsing of message items, including:
Extracting message metadata (fromUserId, targetId, timestamp, objectName)
Inferring message type if not provided
Parsing message content using messageContentFromJson
JSON format:
[
{
"fromUserId": "user123",
"targetId": "channel456",
"timestamp": 1234567890,
"objectName": "RC:TxtMsg",
"content": {"text": "Hello"}
}
]Content copied to clipboard
Return
A list of parsed CombineMsgItem objects
Parameters
json Array
The JSON array containing message items