DiscordEntitlement
Documentation / @discordeno/types / DiscordEntitlement
Interface: DiscordEntitlement
Defined in: discord/entitlement.ts:4
https://docs.discord.com/developers/resources/entitlement#entitlement-object-entitlement-structure
Properties
application_id
application_id:
string
Defined in: discord/entitlement.ts:10
ID of the parent application
consumed?
optionalconsumed?:boolean
Defined in: discord/entitlement.ts:24
For consumable items, whether or not the entitlement has been consumed
deleted
deleted:
boolean
Defined in: discord/entitlement.ts:16
Entitlement was deleted
ends_at
ends_at:
string|null
Defined in: discord/entitlement.ts:20
Date at which the entitlement is no longer valid.
guild_id?
optionalguild_id?:string
Defined in: discord/entitlement.ts:22
ID of the guild that is granted access to the entitlement's sku
id
id:
string
Defined in: discord/entitlement.ts:6
ID of the entitlement
sku_id
sku_id:
string
Defined in: discord/entitlement.ts:8
ID of the SKU
starts_at
starts_at:
string|null
Defined in: discord/entitlement.ts:18
Start date at which the entitlement is valid.
type
type:
DiscordEntitlementType
Defined in: discord/entitlement.ts:14
Type of entitlement
user_id?
optionaluser_id?:string
Defined in: discord/entitlement.ts:12
ID of the user that is granted access to the entitlement's sku