Table of Contents

Interface IWebhooksUpdateShardedGatewayHandler

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

Sent when a guild channel's webhook is created, updated, or deleted.

public interface IWebhooksUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildWebhooks
Optional Intents: None

Methods

HandleAsync(GatewayClient, WebhooksUpdateEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, WebhooksUpdateEventArgs arg)

Parameters

client GatewayClient

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

arg WebhooksUpdateEventArgs

The event argument.

Returns

ValueTask