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

x/mtkruto/mod.ts>CreateInviteLinkParams

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

Properties

optional
title: string

An optional title to be attached to the link that can only be seen by admins.

optional
expireAt: Date

The point of time in which the invite link must no longer work.

optional
limit: number

The times the invite link can be used. Cannot be specified while requireApproval is true.

optional
requireApproval: boolean

Whether an admin must explicitly approve join requests originating from this invite link. Cannot be true while limit is specified.