Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.ts>InviteLink

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface InviteLink
Re-export
import { type InviteLink } from "https://deno.land/x/mtkruto@0.1.157/3_types.ts";

A chat invite link.

Properties

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.

optional
title: string

An optional title.

optional
expiresAt: Date

The point of time in which the invite link is expired at.

optional
limit: number

The times the invite link can be used.

optional
pendingJoinRequestCount: number

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