Skip to main content
Module

x/mtkruto/mod.ts>types.Authorization

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.Authorization
import { types } from "https://deno.land/x/mtkruto@0.1.101/mod.ts";
const { Authorization } = types;

Constructors

new
Authorization(params: { current?: true; officialApp?: true; passwordPending?: true; encryptedRequestsDisabled?: true; callRequestsDisabled?: true; hash: bigint; deviceModel: string; platform: string; systemVersion: string; apiId: number; appName: string; appVersion: string; dateCreated: number; dateActive: number; ip: string; country: string; region: string; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
apiId: number
appName: string
appVersion: string
optional
callRequestsDisabled: true
country: string
optional
current: true
dateActive: number
dateCreated: number
deviceModel: string
optional
encryptedRequestsDisabled: true
hash: bigint
ip: string
optional
officialApp: true
optional
passwordPending: true
platform: string
region: string
systemVersion: string

Static Properties

readonly
[paramDesc]: ParamDesc