Message
Defined in: client-sdk-js/src/types.ts:4
A message exchanged between participants (chat, whiteboard, document, etc.).
Properties
Section titled “Properties”attachedFiles?
Section titled “attachedFiles?”attachedFiles?: string[];Defined in: client-sdk-js/src/types.ts:18
Optional file attachment identifiers.
editTimestamp?
Section titled “editTimestamp?”editTimestamp?: number;Defined in: client-sdk-js/src/types.ts:14
Unix timestamp in milliseconds of the last edit, if edited.
id: string;Defined in: client-sdk-js/src/types.ts:6
Unique message identifier.
message
Section titled “message”message: string;Defined in: client-sdk-js/src/types.ts:12
The text content of the message.
timestamp
Section titled “timestamp”timestamp: number;Defined in: client-sdk-js/src/types.ts:10
Unix timestamp in milliseconds when the message was sent.
transient?
Section titled “transient?”transient?: boolean;Defined in: client-sdk-js/src/types.ts:16
If true, the message is not persisted (e.g. mouse coordinates).
type?: string;Defined in: client-sdk-js/src/types.ts:8
Message type: “text”, “whiteboard”, “document”, “image”, “video”, “audio”, “file”, “system”, etc.