@sudoplatform/sudo-secure-communications
    Preparing search index...

    Interface ChatSummary

    The Sudo Platform SDK representation of a Chat Summary.

    ChatSummary

    interface ChatSummary {
        hasUnreadMessages: boolean;
        latestMessage?: Message;
        recipient: Recipient;
        threadUnreadCount: Record<string, UnreadCount>;
        unreadCount: UnreadCount;
    }
    Index

    Properties

    hasUnreadMessages: boolean

    True if this handle has unread messages in this chat.

    latestMessage?: Message

    The latest message in this chat, or undefined if one cannot be found.

    recipient: Recipient

    The recipient identifier for this chat summary.

    threadUnreadCount: Record<string, UnreadCount>

    A map of thread IDs to the unread message counts for that thread.

    unreadCount: UnreadCount

    The unread messages counts in the chat, including from any threads.