Create Revolt.js Client
Optional options: Partial<ClientOptions>Optional configuration: { URL pointing to the client serving this node
Build information
Commit Hash
Commit Timestamp
Git Origin URL
Git Semver
Build Timestamp
Features enabled on this Revolt node
File server service configuration
Whether the service is enabled
URL pointing to the service
hCaptcha configuration
Whether captcha is enabled
Client key used for solving captcha
Whether email verification is enabled
Whether this server is invite only
Proxy service configuration
Whether the service is enabled
URL pointing to the service
Voice server configuration
Whether voice is enabled
URL pointing to the voice API
URL pointing to the voice WebSocket server
Revolt API Version
Web Push VAPID public key
WebSocket URL
Private #reconnectPrivate #sessionPrivate #setPrivate #setReadonly accountReadonly apiReadonly botsReadonly channelReadonly channelsReadonly connectionReadonly emojisReadonly eventsReadonly messagesReadonly optionsReadonly readyReadonly serverReadonly serversReadonly sessionsReadonly usersStatic prefixedCurrent session id
Private #fetchPrivate #updateRest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]Optional context: anyLog in with auth data, creating a new session in the process.
An on-boarding function if on-boarding is required, undefined otherwise
Login data object
Optional fn: ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]Optional context: anyOptional once: booleanAdd a listener for a given event.
Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]Optional context: anyAdd a one-time listener for a given event.
Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]Optional context: anyRemove the listeners of a given event.
Optional fn: ((...args: ArgumentMap<Events>[Extract<T, keyof Events>]) => void)Rest ...args: ArgumentMap<Events>[Extract<T, keyof Events>]Optional context: anyOptional once: booleanUse an existing session to log into Revolt
An on-boarding function if on-boarding is required, undefined otherwise
Session data object
Generated using TypeDoc
Revolt.js Clients