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>help_PromoData_

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

MTProxy/Public Service Announcement information

Constructors

new
help_PromoData_(params: { proxy?: true; expires: number; peer: enums.Peer; chats: Array<enums.Chat>; users: Array<enums.User>; psa_type?: string; psa_message?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
chats: Array<enums.Chat>

Chat info

expires: number

Expiry of PSA/MTProxy info

peer: enums.Peer

MTProxy/PSA peer

optional
proxy: true

MTProxy-related channel

optional
psa_message: string

PSA message

optional
psa_type: string

PSA type

users: Array<enums.User>

User info

Static Properties

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