Skip to main content
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.702/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.