Skip to main content
Module

x/mtkruto/mod.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.151/mod.ts";

A chat invite link.

Properties

creator: User

The user who created the invite link.

createsJoinRequest: boolean

Whether the invite link requires explicit approval from administrators.

revoked: boolean

Whether the invite link is revoked.

optional
name: string

An optional name.

optional
expiresAt: Date

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

optional
limit: number

The number of times the invite link can be used.

optional
pendingJoinRequestCount: number

The number of pending join requests from this invite link.