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

x/grm/mod.ts>tl.Api.Authorization

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.Authorization
extends VirtualClass<{ current?: boolean; officialApp?: boolean; passwordPending?: boolean; encryptedRequestsDisabled?: boolean; callRequestsDisabled?: boolean; hash: long; deviceModel: string; platform: string; systemVersion: string; apiId: int; appName: string; appVersion: string; dateCreated: int; dateActive: int; ip: string; country: string; region: string; }>
import { tl } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { Authorization } = tl.Api;

Properties

apiId: int
appName: string
appVersion: string
optional
callRequestsDisabled: boolean
className: "Authorization"
classType: "constructor"
CONSTRUCTOR_ID: 2902578717
country: string
optional
current: boolean
dateActive: int
dateCreated: int
deviceModel: string
optional
encryptedRequestsDisabled: boolean
hash: long
ip: string
optional
officialApp: boolean
optional
passwordPending: boolean
platform: string
region: string
SUBCLASS_OF_ID: 3373514778
systemVersion: string