# CreateLobbyParams


## Fields

| Field                                                                                                                                                                                                                                       | Type                                                                                                                                                                                                                                        | Required                                                                                                                                                                                                                                    | Description                                                                                                                                                                                                                                 | Example                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `InitialConfig`                                                                                                                                                                                                                             | *object*                                                                                                                                                                                                                                    | :heavy_check_mark:                                                                                                                                                                                                                          | User input to initialize the game state. Object must be smaller than 64KB.                                                                                                                                                                  |                                                                                                                                                                                                                                             |
| `Region`                                                                                                                                                                                                                                    | [Region](../../Models/Shared/Region.md)                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                          | N/A                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                             |
| `Visibility`                                                                                                                                                                                                                                | [LobbyVisibility](../../Models/Shared/LobbyVisibility.md)                                                                                                                                                                                   | :heavy_check_mark:                                                                                                                                                                                                                          | Types of lobbies a player can create.<br/><br/>`private`: the player who created the room must share the roomId with their friends<br/><br/>`public`: visible in the public lobby list, anyone can join<br/><br/>`local`: for testing with a server running locally | private                                                                                                                                                                                                                                     |