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_TermsOfService_

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

Info about the latest telegram Terms Of Service

Constructors

new
help_TermsOfService_(params: { popup?: true; id: enums.DataJSON; text: string; entities: Array<enums.MessageEntity>; min_age_confirm?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
entities: Array<enums.MessageEntity>
id: enums.DataJSON

ID of the new terms

optional
min_age_confirm: number

Minimum age required to sign up to telegram, the user must confirm that they is older than the minimum age.

optional
popup: true

Whether a prompt must be showed to the user, in order to accept the new terms.

text: string

Text of the new terms

Static Properties

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