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
channelReadonly
channelsURL 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
Readonly
connectionReadonly
emojisReadonly
eventsReadonly
messagesReadonly
optionsReadonly
readyReadonly
serverReadonly
serversReadonly
sessionsReadonly
usersStatic
prefixedCurrent session id
Private
#fetchPrivate
#updateLog in with auth data, creating a new session in the process.
Login data object
An on-boarding function if on-boarding is required, undefined otherwise
Remove the listeners of a given event.
Optional
fn: ((...args) => void)Rest
...args: ArgumentMap<Events>[Extract<T, keyof Events>]Optional
context: anyOptional
once: booleanUse an existing session
Generated using TypeDoc
Revolt.js Clients