Table of Contents
API reference

Method CreateLobbySelfInviteAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

CreateLobbySelfInviteAsync(ulong, CancellationToken)

Creates a linked-channel invite targeted at the current OAuth user.

public Task<DiscordLobbyInvite> CreateLobbySelfInviteAsync(ulong lobbyId, CancellationToken cancellationToken = default)

Parameters

lobbyId ulong

The lobby ID.

cancellationToken CancellationToken

A cancellation token.

Returns

Task<DiscordLobbyInvite>

The invite.