InviteLink

A chat invite link.

Properties

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 invite link will be revoked.

limit?: number

The times the invite link can be used.

pendingJoinRequestCount?: number

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

subscriptionPrice?: number

The amount of stars required to renew the subscription.

subscriptionExpiresIn?: number

The remaining duration (in seconds) until the subscription expires.