Table of Contents

Method ConsumeEntitlementAsync

Namespace
DSharpPlus.Net
Assembly
DSharpPlus.dll

ConsumeEntitlementAsync(ulong, ulong)

For One-Time Purchase consumable SKUs, marks a given entitlement for the user as consumed.

public ValueTask ConsumeEntitlementAsync(ulong applicationId, ulong entitlementId)

Parameters

applicationId ulong

The id of the application the entitlement belongs to

entitlementId ulong

The id of the entitlement which will be marked as consumed

Returns

ValueTask