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_TermsOfServiceUpdate_

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

Info about an update of telegram's terms of service. If the terms of service are declined, then the account.deleteAccount method should be called with the reason "Decline ToS update"

Constructors

new
help_TermsOfServiceUpdate_(params: { expires: number; terms_of_service: enums.help.TermsOfService; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
expires: number

New TOS updates will have to be queried using help.getTermsOfServiceUpdate in expires seconds

terms_of_service: enums.help.TermsOfService

New terms of service

Static Properties

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