Interface ChatMessage

ChatMessage represents a chat message sent by clients to a chat room.

Hierarchy

  • ChatMessage

Properties

attributes?: Record<string, string>

Key-value object for any additional message data.

content: string

Text content of the message.

id: string

Server-generated unique identifier of the message.

requestId?: string

Client-generated identifier of the request that triggered message.

sendTime: Date

Date and time when the message has been sent.

sender: ChatUser

User sending the message.

Generated using TypeDoc