Interface PresenceMember

Type for PresenceMember

interface PresenceMember {
    action:
        | "enter"
        | "leave"
        | "update"
        | "present";
    clientId: string;
    data: unknown;
    extras: any;
    updatedAt: number;
}

Properties

action:
    | "enter"
    | "leave"
    | "update"
    | "present"

The current state of the presence member.

clientId: string

The clientId of the presence member.

data: unknown

The data associated with the presence member.

extras: any

The extras associated with the presence member.

updatedAt: number

The timestamp of when the last change in state occurred for this presence member.