Cell API
    Preparing search index...

    Interface Message

    The Message interface represents a message that can be sent or received in a chat application. Messages can have content, media attachments, properties, and message types.

    • Media
    • MessageType
    interface Message {
        content: string;
        media: Media[];
        messageType: MessageType;
        metadata: Record<string, any>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    content: string

    The content of the message.

    media: Media[]

    The media associated with the content.

    messageType: MessageType
    metadata: Record<string, any>

    The metadata associated with the content.