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

x/mtkruto/tl/2_types.ts>ChatInviteExported_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class ChatInviteExported_
import { ChatInviteExported_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Exported chat invite

Constructors

new
ChatInviteExported_(params: { revoked?: true; permanent?: true; request_needed?: true; link: string; admin_id: bigint; date: number; start_date?: number; expire_date?: number; usage_limit?: number; usage?: number; requested?: number; title?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
admin_id: bigint

ID of the admin that created this chat invite

date: number

When was this chat invite created

optional
expire_date: number

When does this chat invite expire

optional
permanent: true

Whether this chat invite has no expiration

optional
request_needed: true

Whether users importing this invite link will have to be approved to join the channel or group

optional
requested: number

Number of users that have already used this link to join

optional
revoked: true

Whether this chat invite was revoked

optional
start_date: number

When was this chat invite last modified

optional
title: string

Custom description for the invite link, visible only to admins

optional
usage: number

How many users joined using this link

optional
usage_limit: number

Maximum number of users that can join using this link

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc