Add Invite ExpiresAt field (#1198)

This commit is contained in:
Aderlx 2022-06-15 04:23:32 +08:00 committed by GitHub
parent c8c153872c
commit e030c5fff8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -246,6 +246,8 @@ type Invite struct {
// will only be filled when using InviteWithCounts // will only be filled when using InviteWithCounts
ApproximatePresenceCount int `json:"approximate_presence_count"` ApproximatePresenceCount int `json:"approximate_presence_count"`
ApproximateMemberCount int `json:"approximate_member_count"` ApproximateMemberCount int `json:"approximate_member_count"`
ExpiresAt *time.Time `json:"expires_at"`
} }
// ChannelType is the type of a Channel // ChannelType is the type of a Channel