parseCombineMsgItemsFromJson

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"}
}
]

Return

A list of parsed CombineMsgItem objects

Parameters

jsonArray

The JSON array containing message items