class BaseInvite
extends
Baseexport class BaseInvite<WithCounts extends boolean = boolean> extends Base
The base invite class.
Constructors
Constructs a new instance of the BaseInvite
class
WithCounts extends true ? number : null approximateMemberCount :
The approximate total number of members.
readonlystring code :
The invite code.
staticRegExp InvitesPattern :
A regular expression that matches Discord invite links. The code
group property is present on the exec()
result of this expression.
readonlyInviteType type :
The type of this invite.
readonlystring url :
The URL to the invite.