Joins a specific lobby. This request will use the direct player count configured for the lobby group.
Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, JoinLobbyCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, JoinLobbyCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new JoinLobbyCommand(input); const response = await client.send(command);
JoinLobbyCommandInput for command's input shape.
input
JoinLobbyCommandOutput for command's response shape.
response
config for MatchmakerServiceClient's config shape.
config
Joins a specific lobby. This request will use the direct player count configured for the lobby group.
Use a bare-bones client and the command you need to make an API call.
import { MatchmakerServiceClient, JoinLobbyCommand } from "@rivet-gg/matchmaker"; // ES Modules import // const { MatchmakerServiceClient, JoinLobbyCommand } = require("@rivet-gg/matchmaker"); // CommonJS import const client = new MatchmakerServiceClient(config); const command = new JoinLobbyCommand(input); const response = await client.send(command);JoinLobbyCommandInput for command's
inputshape.JoinLobbyCommandOutput for command's
responseshape.config for MatchmakerServiceClient's
configshape.