Check onboarding status and connect to notifications service.
Finish onboarding for a user, for example by providing a username.
Onboarding data object
Defines whether to automatically log in and connect after onboarding finishes
Fetches the configuration of the server.
Delete an invite.
The invite code.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Fetches the configuration of the server if it has not been already fetched.
Fetch information about a given invite code.
The invite code.
Invite information.
Generates a URL to a given file with given options.
Partial of attachment object
Generated URL or nothing
Use an invite.
The invite code.
Data provided by invite.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Log in with auth data, creating a new session in the process.
Login data object
An onboarding function if onboarding is required, undefined otherwise
Log in as a bot.
Bot token
Log out of Revolt. Disconnect the WebSocket, request a session invalidation and reset the client.
Prepare a markdown-based message to be displayed to the user as plain text.
Source markdown text
Modified plain text
Add a one-time listener for a given event.
Proxy a file through January.
URL to proxy
Proxied media URL
Register for a new account.
Registration data object
A promise containing a registration response object
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
? Axios request wrapper.
Perform an HTTP request using Axios, specifying a request config.
HTTP method
Target route
Axios request config object
The response body
Reset the client by setting properties to their original value or deleting them entirely. Disconnects the current WebSocket.
Fetch user settings for current user.
Settings keys to fetch, leave blank to fetch full object.
Key-value object of settings.
Fetch user unreads for current user.
Array of channel unreads.
Set user settings for current user.
Data to set as an object. Any non-string values will be automatically serialised.
Timestamp to use for the current revision.
Use an existing session to log into Revolt.
Session data object
An onboarding function if onboarding is required, undefined otherwise
Generated using TypeDoc
? Configuration.