DiscordSubscription
Documentation / @discordeno/bot / DiscordSubscription
Interface: DiscordSubscription
Defined in: packages/types/dist/types/discord.d.ts:3465
https://discord.com/developers/docs/resources/subscription#subscription-object
Properties
canceled_at
canceled_at:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:3483
When the subscription was canceled
country?
optional
country:string
Defined in: packages/types/dist/types/discord.d.ts:3485
ISO3166-1 alpha-2 country code of the payment source used to purchase the subscription. Missing unless queried with a private OAuth scope.
current_period_end
current_period_end:
string
Defined in: packages/types/dist/types/discord.d.ts:3479
End of the current subscription period
current_period_start
current_period_start:
string
Defined in: packages/types/dist/types/discord.d.ts:3477
Start of the current subscription period
entitlement_ids
entitlement_ids:
string
[]
Defined in: packages/types/dist/types/discord.d.ts:3473
List of entitlements granted for this subscription
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:3467
ID of the subscription
renewal_sku_ids
renewal_sku_ids:
null
|string
[]
Defined in: packages/types/dist/types/discord.d.ts:3475
List of SKUs that this user will be subscribed to at renewal
sku_ids
sku_ids:
string
[]
Defined in: packages/types/dist/types/discord.d.ts:3471
List of SKUs subscribed to
status
status:
DiscordSubscriptionStatus
Defined in: packages/types/dist/types/discord.d.ts:3481
Current status of the subscription
user_id
user_id:
string
Defined in: packages/types/dist/types/discord.d.ts:3469
ID of the user who is subscribed