forked from pothtonswer/discordmuffin
Add Invite ExpiresAt field (#1198)
This commit is contained in:
parent
c8c153872c
commit
e030c5fff8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue