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

    Represents a chat channel (conversation) in the channel list.

    interface ChatChannel {
        avatarUrl?: string;
        id: string;
        isOnline?: boolean;
        lastMessageAt?: string | Date;
        lastMessagePreview?: string;
        name: string;
        subtitle?: string;
        type?: string;
        unreadCount: number;
    }
    Index

    Properties

    avatarUrl?: string

    Avatar URL (optional)

    id: string

    Unique identifier for the channel (typically roomName)

    isOnline?: boolean

    Whether the channel/user is online

    lastMessageAt?: string | Date

    Timestamp of the last message

    lastMessagePreview?: string

    Preview of the last message

    name: string

    Display name for the channel

    subtitle?: string

    Subtitle text (e.g., participant count)

    type?: string

    Channel type for grouping (e.g., 'dm', 'group', 'room')

    unreadCount: number

    Number of unread messages