Briyah SDK - v2.0.6
    Preparing search index...

    Interface RoomMessageUpdate

    interface RoomMessageUpdate {
        currentSpeaker?: string;
        isPaused?: boolean;
        latestMessage?: Message;
        messageIndex?: number;
        processingInProgress?: boolean;
        roomId: string;
        totalCost?: number;
        type?: "state";
        waitingForHuman?: boolean;
    }
    Index
    currentSpeaker?: string
    isPaused?: boolean
    latestMessage?: Message
    messageIndex?: number
    processingInProgress?: boolean
    roomId: string
    totalCost?: number
    type?: "state"

    Discriminates this from RoomErrorUpdate on the same channel.

    waitingForHuman?: boolean

    The room is idle pending the human agent's input.

    True while a human holds the floor, and also true for an idle room with no speaker, nothing queued and nothing in flight — including the moment between a message being accepted and processing starting. So it answers "may the human send something", not "is the human being asked something". For the latter, compare currentSpeaker against the human's nickname.