Table of Contents

Interface IChannelPinsUpdateShardedGatewayHandler

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

Sent when a message is pinned or unpinned in a text channel. This is not sent when a pinned message is deleted.

public interface IChannelPinsUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds, DirectMessages
Optional Intents: None

Methods

HandleAsync(GatewayClient, ChannelPinsUpdateEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, ChannelPinsUpdateEventArgs arg)

Parameters

client GatewayClient

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

arg ChannelPinsUpdateEventArgs

The event argument.

Returns

ValueTask