Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/types/2_invite_link.ts>InviteLink

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface InviteLink
import { type InviteLink } from "https://deno.land/x/mtkruto@0.1.157/types/2_invite_link.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.