ResolveLobbyFromInviteTokenAsync
method in Coherence.Cloud.LobbiesService
Methods
public Task<LobbyData> ResolveLobbyFromInviteTokenAsync(string inviteToken, CancellationToken cancellationToken = default)
Look up a Lobby via invite token.
Parameters
| Type | Name | Description |
|---|---|---|
| string | inviteToken | The invite token, as it was handed to you. |
| CancellationToken | cancellationToken | Optional parameter to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<LobbyData> | The Lobby, in its current state. |
Remarks
Looking up tokens too often (currently over 30 a minute) fails with Coherence.Runtime.ErrorCode.LobbyRateLimited.