@archastro/sdk
    Preparing search index...

    Interface ThreadReadStatus

    The read status of a thread for a specific user, indicating how far they have read and how many messages remain unread.

    interface ThreadReadStatus {
        last_read_message?: string;
        thread: string;
        unread_count: number;
    }
    Index

    Properties

    last_read_message?: string

    Message ID (msg_...) of the last message the user has read in this thread. null if the user has never read any message in the thread.

    thread: string

    Thread ID (thr_...) that this read status belongs to.

    unread_count: number

    Number of messages in the thread that the user has not yet read.