Table of Contents

Method DeleteInviteAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

DeleteInviteAsync(string, string)

Removes an invite

public Task<DiscordInvite> DeleteInviteAsync(string inviteCode, string reason)

Parameters

inviteCode string

Invite code

reason string

Reason why this invite was removed

Returns

Task<DiscordInvite>