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
Latest
interface CreateInviteLinkParams
Re-export
import { type CreateInviteLinkParams } from "https://deno.land/x/mtkruto@0.6.3/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

A point in time within the future in which the invite link will be invalidated.

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.