Chat Entities
These entities are returned by the Chat adapter functions.
ChatMessageReadOutView
Represents a single message exchanged in a chat.
Properties:
senderKey(string): Unique identifier of the user who sent the message.receiverKey(string): Unique identifier of the user who received the message.created(string): ISO timestamp indicating when the message was created.id(string): Unique identifier for the message.message(string): The text of the message.
ChatReadOutView
Represents a chat between Epicenter users, including metadata and messages.
Properties:
permit(Permit): Controls who can access the chat.chatKey(string): Unique identifier for the chat.messages(ChatMessageReadOutView[]): Array of messages exchanged in this chat.room(string): Name of the chat room.scope(GenericScope): The chat scope.