@vex-chat/libvex
    Preparing search index...

    Interface IMessage

    IMessage is a chat message.

    interface IMessage {
        authorID: string;
        decrypted: boolean;
        direction: "incoming" | "outgoing";
        forward: boolean;
        group: string | null;
        mailID: string;
        message: string;
        nonce: string;
        readerID: string;
        recipient: string;
        sender: string;
        timestamp: Date;
    }
    Index

    Properties

    authorID: string

    User ID of the original author.

    decrypted: boolean

    Whether payload decryption succeeded.

    direction: "incoming" | "outgoing"

    Whether this message was received or sent by the current client.

    forward: boolean

    true when this message was forwarded to another owned device.

    group: string | null

    Channel ID for group messages; null for direct messages.

    mailID: string

    Globally unique message identifier.

    message: string

    Plaintext message content (or empty string when decryption failed).

    nonce: string

    Hex-encoded nonce used for message encryption.

    readerID: string

    User ID of the intended reader.

    recipient: string

    Recipient device ID.

    sender: string

    Sender device ID.

    timestamp: Date

    Time the message was created/received.