From e030c5fff83aa31d27f417f740b1da149fb9eddf Mon Sep 17 00:00:00 2001 From: Aderlx <34983999+Aderlx@users.noreply.github.com> Date: Wed, 15 Jun 2022 04:23:32 +0800 Subject: [PATCH] Add Invite ExpiresAt field (#1198) --- structs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/structs.go b/structs.go index cddc5d9..0b6b6a6 100644 --- a/structs.go +++ b/structs.go @@ -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