ReadonlyapiAPI client.
ReadonlychannelsThe channel manager of this client.
ReadonlygatewayGateway client.
ReadonlyoptionsConfiguration options for this instance.
User that the client is logged in as.
ReadonlyusersThe user manager of this client.
StaticprefixedOptionalcontext: anyLogs out and destroys the client.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Logs the client in, establishing a WebSocket connection.
Optionalfn: (Optionalcontext: anyOptionalonce: booleanAdd a listener for a given event.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyRemove all listeners, or those of the specified event.
Optionalevent: keyof ClientEventsMapRemove the listeners of a given event.
Optionalfn: (Optionalcontext: anyOptionalonce: boolean
The main hub for interacting with the FoxoChat.