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
ulongThe id of the application the entitlement belongs to
entitlementId
ulongThe id of the entitlement which will be marked as consumed
Returns
- ValueTask