Class DiscordEntitlement
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Entitlement owned by a user or guild
public sealed class DiscordEntitlement
- Inheritance
-
objectDiscordEntitlement
Properties
- ApplicationId
ID of the parent application
- Consumed
For consumable items, whether or not the entitlement has been consumed
- Deleted
Entitlement was deleted
- EndsAt
Date at which the entitlement is no longer valid. Not present when using test entitlements.
- GuildId
ID of the guild that is granted access to the entitlement's sku
- Id
ID of the entitlement
- StartsAt
Start date at which the entitlement is valid. Not present when using test entitlements.
- StockKeepingUnitId
ID of the SKU
- Type
Type of entitlement
- UserId
ID of the user that is granted access to the entitlement's sku