IgcChatMessage

Represents a single chat message in the conversation.

Optional attachments

Section titled "attachments"

Optional list of attachments associated with the message, such as images, files, or links.

attachments?: IgcChatMessageAttachment[]

Defined in src/components/chat/types.ts:31

A unique identifier for the message.

id: string

Defined in src/components/chat/types.ts:10

Optional reactions

Section titled "reactions"

Optional list of reactions associated with the message.

reactions?: string[]

Defined in src/components/chat/types.ts:36

The identifier or name of the sender of the message.

sender: string

Defined in src/components/chat/types.ts:20

The textual content of the message.

text: string

Defined in src/components/chat/types.ts:15

Optional timestamp

Section titled "timestamp"

The timestamp indicating when the message was sent.

timestamp?: string

Defined in src/components/chat/types.ts:25