class GroupDMInvite
extends
BaseInvite<WithCounts>export class GroupDMInvite<WithCounts extends boolean = boolean> extends BaseInvite<WithCounts>
A channel invite leading to a group direct message channel.
WithCounts extends true ? number : null approximateMemberCount :
The approximate total number of members.
Inherited from: BaseInvite
PartialGroupDMChannel | null channel :
The channel this invite is for.
The id of the channel this invite is for.
Inherited from: BaseInvite
The timestamp this invite was created at.
Inherited from: BaseInvite
The timestamp this invite expires at.
Inherited from: BaseInvite
The id of the user that created this invite.
Inherited from: BaseInvite
staticRegExp InvitesPattern :
A regular expression that matches Discord invite links. The code
group property is present on the exec()
result of this expression.
Inherited from: BaseInvite
The maximum age of the invite in seconds. 0
for no expiry.
Inherited from: BaseInvite
readonlyInviteType.GroupDM type :
The type of this invite.
toJSONunknown () :
Inherited from: BaseInvite
toStringstring () :
When concatenated with a string, this automatically concatenates the invite's URL instead of the object.
// Logs: Invite: https://discord.gg/djs
console.log(`Invite: ${invite}`);
Inherited from: BaseInvite