# LobbyV3

A lobby object allows you to store and manage metadata for your rooms.


## Fields

| Field                                                                                                                                                                                                                                       | Type                                                                                                                                                                                                                                        | Required                                                                                                                                                                                                                                    | Description                                                                                                                                                                                                                                 | Example                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AppId`                                                                                                                                                                                                                                     | *string*                                                                                                                                                                                                                                    | :heavy_check_mark:                                                                                                                                                                                                                          | System generated unique identifier for an application.                                                                                                                                                                                      | app-af469a92-5b45-4565-b3c4-b79878de67d2                                                                                                                                                                                                    |
| `CreatedAt`                                                                                                                                                                                                                                 | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0)                                                                                                                                                       | :heavy_check_mark:                                                                                                                                                                                                                          | When the lobby was created.                                                                                                                                                                                                                 |                                                                                                                                                                                                                                             |
| `CreatedBy`                                                                                                                                                                                                                                 | [LobbyV3CreatedBy](../../Models/Shared/LobbyV3CreatedBy.md)                                                                                                                                                                                 | :heavy_check_mark:                                                                                                                                                                                                                          | UserId or email address for the user that created the lobby.                                                                                                                                                                                | google-oauth2\|107030234048588177467                                                                                                                                                                                                        |
| `Region`                                                                                                                                                                                                                                    | [Region](../../Models/Shared/Region.md)                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                          | N/A                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                             |
| `RoomConfig`                                                                                                                                                                                                                                | *string*                                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                          | N/A                                                                                                                                                                                                                                         | {"name":"my-room"}                                                                                                                                                                                                                          |
| `RoomId`                                                                                                                                                                                                                                    | *string*                                                                                                                                                                                                                                    | :heavy_check_mark:                                                                                                                                                                                                                          | Unique identifier to a game session or match. Use the default system generated ID or overwrite it with your own.<br/>Note: error will be returned if `roomId` is not globally unique.                                                       | 2swovpy1fnunu                                                                                                                                                                                                                               |
| `ShortCode`                                                                                                                                                                                                                                 | *string*                                                                                                                                                                                                                                    | :heavy_check_mark:                                                                                                                                                                                                                          | User-defined identifier for a lobby.                                                                                                                                                                                                        | LFG4                                                                                                                                                                                                                                        |
| `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                                                                                                                                                                                                                                     |