Skip to main content
Version: Next

RESTPutAPILobbyJSONBody

Index

Properties

optionalidle_timeout_seconds

idle_timeout_seconds?: number

Seconds to wait before shutting down a lobby after it becomes idle. Value can be between 5 and 604800 (7 days).

optionallobby_metadata

lobby_metadata?: null | Record<string, string>

Optional dictionary of string key/value pairs to set on the lobby. The max total length is 1000. Overwrites any existing lobby metadata.

optionalmember_metadata

member_metadata?: null | Record<string, string>

Optional dictionary of string key/value pairs to set on the calling user's lobby member. The max total length is 1000.

secret

secret: string

Secret used to identify the lobby. If a lobby for this application already exists with this secret, the caller joins it; otherwise a new lobby is created. Max 250 characters.