Table of Contents
API reference

Method LeaveLobbyAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

LeaveLobbyAsync(ulong, CancellationToken)

Removes the current OAuth user from a lobby.

public Task LeaveLobbyAsync(ulong lobbyId, CancellationToken cancellationToken = default)

Parameters

lobbyId ulong

The lobby ID.

cancellationToken CancellationToken

A cancellation token.

Returns

Task

A task representing the request.