Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/mod.ts>tl.Api.help.PromoData

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.help.PromoData
extends VirtualClass<{ proxy?: boolean; expires: int; peer: Api.TypePeer; chats: Api.TypeChat[]; users: Api.TypeUser[]; psaType?: string; psaMessage?: string; }>
import { tl } from "https://deno.land/x/grm@0.8.0/src/mod.ts";
const { PromoData } = tl.Api.help;

Properties

chats: Api.TypeChat[]
className: "help.PromoData"
classType: "constructor"
CONSTRUCTOR_ID: 2352576831
expires: int
peer: Api.TypePeer
optional
proxy: boolean
optional
psaMessage: string
optional
psaType: string
SUBCLASS_OF_ID: 2639877442
users: Api.TypeUser[]

Static Methods

fromReader(reader: Reader): PromoData