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

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

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.help.TermsOfService
extends VirtualClass<{ popup?: boolean; id: Api.TypeDataJSON; text: string; entities: Api.TypeMessageEntity[]; minAgeConfirm?: int; }>
import { tl } from "https://deno.land/x/grm@0.8.0/src/mod.ts";
const { TermsOfService } = tl.Api.help;

Properties

className: "help.TermsOfService"
classType: "constructor"
CONSTRUCTOR_ID: 2013922064
entities: Api.TypeMessageEntity[]
id: Api.TypeDataJSON
optional
minAgeConfirm: int
optional
popup: boolean
SUBCLASS_OF_ID: 552502034
text: string

Static Methods

fromReader(reader: Reader): TermsOfService