list method

Retrieves a list of chat messages that already exist in the room.

@return A List of ZegoInRoomMessage objects representing the chat messages that already exist in the room.

Implementation

List<ZegoInRoomMessage> list() {
  return ZegoUIKit().getInRoomMessages();
}