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

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

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