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.
Create a new lobby.
Optional options: CreateLobbyOptionsThe options for creating the lobby.
This method does not cache its result.
Edit a lobby.
The ID of the lobby to edit.
The options for editing the lobby.
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.