Skip to main content

Interface: ClientOptions

Internal.ClientOptions

Properties

autoReconnect

Optional autoReconnect: boolean

Will try to auto reconnect when disconnected if set to true (Default: true)


connectionSettings

Optional connectionSettings: ConnectionSettings | (...args: any) => ConnectionSettings | Promise<ConnectionSettings>

The client connection settings. The default is to fetch these from an API endpoint (Client.fetchIP)


intents

Optional intents: ClientIntentOptions

The client intents.


language

Optional language: Language

Which community to log in to


loginRoom

Optional loginRoom: string

The room where the client will be logged in (Default: 1)