Table of Contents

Interface IInviteCreateShardedGatewayHandler

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

Sent when a new invite to a channel is created. Only sent if the bot has the ManageChannels permission for the relevant channel.

public interface IInviteCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildInvites
Optional Intents: None

Methods

HandleAsync(GatewayClient, Invite)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, Invite arg)

Parameters

client GatewayClient

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

arg Invite

The event argument.

Returns

ValueTask