Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoffi committed Aug 3, 2024
1 parent faf1279 commit 887cdb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2466,6 +2466,7 @@ type Entitlement struct {
ApplicationID string `json:"application_id"`

// The ID of the user that is granted access to the entitlement's sku
// Only available for user subscriptions.
UserID string `json:"user_id,omitempty"`

// The type of the entitlement
Expand All @@ -2483,6 +2484,7 @@ type Entitlement struct {
EndsAt *time.Time `json:"ends_at,omitempty"`

// The ID of the guild that is granted access to the entitlement's sku.
// Only available for guild subscriptions.
GuildID string `json:"guild_id,omitempty"`

// Whether or not the entitlement has been consumed.
Expand Down

0 comments on commit 887cdb3

Please sign in to comment.