Interface PresenceEvent

Type for PresenceEvent

interface PresenceEvent {
    action: PresenceEvents;
    clientId: string;
    data: unknown;
    timestamp: number;
}

Properties

The type of the presence event.

clientId: string

The clientId of the client that triggered the presence event.

data: unknown

The data associated with the presence event.

timestamp: number

The timestamp of the presence event.