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

x/mtkruto/tl/2_types.ts>Authorization

An attempt to write a Deno-native MTProto client
Go to Latest
class Authorization
import { Authorization } from "https://deno.land/x/mtkruto@0.0.62/tl/2_types.ts";

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