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)

ValueTask HandleAsync(GatewayClient client, Invite arg)

Parameters

client GatewayClient
arg Invite

Returns

ValueTask