Table of Contents
API reference

Method LinkLobbyChannelAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

LinkLobbyChannelAsync(ulong, ulong?, CancellationToken)

Links or unlinks a guild channel using a lobby member's bearer token.

public Task<DiscordLobby> LinkLobbyChannelAsync(ulong lobbyId, ulong? channelId, CancellationToken cancellationToken = default)

Parameters

lobbyId ulong

The lobby ID.

channelId ulong?

The channel to link, or null to unlink.

cancellationToken CancellationToken

A cancellation token.

Returns

Task<DiscordLobby>

The updated lobby.