InviteLink

A chat invite link.

PROPERTIES
inviteLink: string

The link itself.

creator: User

The user who created the invite link.

requiresApproval: boolean

Whether an admin must explicitly approve join requests originating from this invite link.

revoked: boolean

Whether the invite link is revoked.

title?: string

An optional title.

expiresAt?: Date

A point in time within the future in which the ban will be reverted.

limit?: number

The times the invite link can be used.

pendingJoinRequestCount?: number

The number of pending join requests originating from this invite link.