Skip to main content
Module

x/mtkruto/client/0_params.ts>CreateInviteLinkParams

Cross-runtime JavaScript library for building Telegram clients
Latest
interface CreateInviteLinkParams
import { type CreateInviteLinkParams } from "https://deno.land/x/mtkruto@0.2.30/client/0_params.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.