Skip to content

Commit

Permalink
Add Invite ExpiresAt field (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aderlx authored Jun 14, 2022
1 parent c8c1538 commit e030c5f
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 @@ -246,6 +246,8 @@ type Invite struct {
// will only be filled when using InviteWithCounts
ApproximatePresenceCount int `json:"approximate_presence_count"`
ApproximateMemberCount int `json:"approximate_member_count"`

ExpiresAt *time.Time `json:"expires_at"`
}

// ChannelType is the type of a Channel
Expand Down

0 comments on commit e030c5f

Please sign in to comment.