Interface JoinLobbyOptions

interface JoinLobbyOptions {
    accessToken?: string;
    flags?: number;
    idleTimeoutSeconds?: number;
    lobbyMetadata?: null | Record<string, string>;
    memberMetadata?: null | Record<string, string>;
    secret: string;
}

Properties

accessToken?: string

An optional access token to use instead of the client's token. This overrides the client's auth.

flags?: number

The lobby flags.

idleTimeoutSeconds?: number

How long to wait (in seconds) before shutting down a lobby after it becomes idle.

lobbyMetadata?: null | Record<string, string>

The metadata of the lobby.

memberMetadata?: null | Record<string, string>

The metadata of the current lobby member.

secret: string

The lobby secret.