Interface ISubscriptionCreateShardedGatewayHandler
Sent when a Subscription for a Premium App is created. Inner payload is a Subscription object.
public interface ISubscriptionCreateShardedGatewayHandler : IShardedGatewayHandler
Remarks
Status can be either Inactive or Inactive when this event is received. You will receive subsequent SubscriptionUpdate events if the status is updated to active. As a best practice, you should not grant any perks to users until the entitlements are created.
Required Intents: None
Optional Intents: None
Methods
HandleAsync(GatewayClient, Subscription)
ValueTask HandleAsync(GatewayClient client, Subscription arg)
Parameters
client
GatewayClientarg
Subscription