Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>account_changeAuthorizationSettings_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class account_changeAuthorizationSettings_
extends Function_<boolean>
import { account_changeAuthorizationSettings_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Change settings related to a session.

Constructors

new
account_changeAuthorizationSettings_(params: { confirmed?: true; hash: bigint; encrypted_requests_disabled?: boolean; call_requests_disabled?: boolean; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
call_requests_disabled: boolean

Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed

optional
confirmed: true
optional
encrypted_requests_disabled: boolean

Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed

hash: bigint

Session ID from the authorization constructor, fetchable using account.getAuthorizations

Static Properties

__F: (params: { confirmed?: true; hash: bigint; encrypted_requests_disabled?: boolean; call_requests_disabled?: boolean; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc