Table of Contents

Interface IInviteDeleteShardedGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when an invite is deleted. Only sent if the bot has the ManageChannels permission for the relevant channel.

public interface IInviteDeleteShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildInvites
Optional Intents: None

Methods

HandleAsync(GatewayClient, InviteDeleteEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, InviteDeleteEventArgs arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg InviteDeleteEventArgs

The event argument.

Returns

ValueTask