Table of Contents

Interface ISubscriptionUpdateShardedGatewayHandler

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

Sent when a subscription for a Premium App has been updated. Inner payload is a Subscription object.

public interface ISubscriptionUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, Subscription)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, Subscription arg)

Parameters

client GatewayClient

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

arg Subscription

The event argument.

Returns

ValueTask