Skip to main content
Module

x/discord_api_types/v10.ts>APIEntitlement

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIEntitlement
Re-export
import { type APIEntitlement } from "https://deno.land/x/discord_api_types@0.37.82/v10.ts";

Properties

ID of the entitlement

sku_id: Snowflake

ID of the SKU

optional
user_id: Snowflake

ID of the user that is granted access to the entitlement's sku

optional
guild_id: Snowflake

ID of the guild that is granted access to the entitlement's sku

application_id: Snowflake

ID of the parent application

Type of entitlement

deleted: boolean

Whether the entitlement was deleted

optional
starts_at: string

Start date at which the entitlement is valid. Not present when using test entitlements.

optional
ends_at: string

Date at which the entitlement is no longer valid. Not present when using test entitlements.