Add a member to a lobby.
The ID of the lobby to add the member to.
The ID of the user to add to the lobby.
Optional options: AddLobbyMemberOptionsThe options for adding the member to the lobby.
Bulk update members in a lobby.
The ID of the lobby to update members in.
The members to update.
Create a new lobby.
Optional options: CreateLobbyOptionsThe options for creating the lobby.
This method does not cache its result.
Create an invite for the current user to join a lobby's linked channel. This requires bearer token authentication.
The ID of the lobby to create the invite for.
Optional accessToken: stringAn optional access token to use instead of the client's token. This overrides the client's auth.
Create an invite for a user to join a lobby's linked channel. This requires bearer token authentication.
The ID of the lobby to create the invite for.
The ID of the user to create the invite for.
Optional accessToken: stringAn optional access token to use instead of the client's token. This overrides the client's auth.
Create a message in a lobby. This requires bearer token authentication.
The ID of the lobby to create the message in.
The options for creating the message.
Optional accessToken: stringAn optional access token to use instead of the client's token. This overrides the client's auth.
Edit a lobby.
The ID of the lobby to edit.
The options for editing the lobby.
Get messages in a lobby. This requires bearer token authentication.
The ID of the lobby to get messages from.
Optional options: GetLobbyMessagesOptionsThe options for getting the messages.
Optional accessToken: stringAn optional access token to use instead of the client's token. This overrides the client's auth.
Join an existing lobby or create a new lobby.
The options for joining or creating the lobby.
This method does not cache its result.
Leave a lobby. This requires bearer token authentication.
The ID of the lobby to leave.
Optional accessToken: stringAn optional access token to use instead of the client's token. This overrides the client's auth.
Link a lobby to a channel. This requires bearer token authentication and the CAN_LINK_LOBBY flag on the member.
The ID of the lobby to link the channel to.
The ID of the channel to link the lobby to.
Optional accessToken: stringAn optional access token to use instead of the client's token. This overrides the client's auth.
Unlink a lobby from a channel. This requires bearer token authentication and the CAN_LINK_LOBBY flag on the member.
The ID of the lobby to unlink the channel from.
Optional accessToken: stringAn optional access token to use instead of the client's token. This overrides the client's auth.
Update the moderation metadata for a message in a lobby.
The ID of the lobby the message is in.
The ID of the message to update the metadata for.
The metadata to set for the message.
Various methods for interacting with lobbies. Located at Client#rest.lobbies.