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

x/mtkruto/tl/3_functions.ts>messages_editExportedChatInvite_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_editExportedChatInvite_
extends Function_<enums.messages.ExportedChatInvite>
import { messages_editExportedChatInvite_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Edit an exported chat invite

Constructors

new
messages_editExportedChatInvite_(params: { revoked?: true; peer: enums.InputPeer; link: string; expire_date?: number; usage_limit?: number; request_needed?: boolean; title?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
expire_date: number

New expiration date

peer: enums.InputPeer

Chat

optional
request_needed: boolean

Whether admin confirmation is required before admitting each separate user into the chat

optional
revoked: true

Whether to revoke the chat invite

optional
title: string

Description of the invite link, visible only to administrators

optional
usage_limit: number

Maximum number of users that can join using this link

Static Properties

__F: (params: { revoked?: true; peer: enums.InputPeer; link: string; expire_date?: number; usage_limit?: number; request_needed?: boolean; title?: string; }) => enums.messages.ExportedChatInvite
readonly
[name]: string
readonly
[paramDesc]: ParamDesc