Hiyve Components - v1.0.0
    Preparing search index...

    Interface ChatConversation

    A conversation summary (room the user has chatted in).

    interface ChatConversation {
        lastMessage: string | null;
        lastMessageAt: string | null;
        lastUserId: string | null;
        messageCount: number;
        participants: string[];
        roomName: string;
    }
    Index

    Properties

    lastMessage: string | null

    Preview of the last message

    lastMessageAt: string | null

    Timestamp of the last message (ISO 8601)

    lastUserId: string | null

    User ID of the last message sender

    messageCount: number

    Total message count in this conversation for this user

    participants: string[]

    Participant user IDs in this room

    roomName: string

    Room name (chat channel identifier)