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

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

MTProto API Client for Deno 🦕
Go to Latest
class 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 { Api } from "https://deno.land/x/grm@0.8.0/src/tl/mod.ts";
const { Authorization } = 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

Static Methods

fromReader(reader: Reader): Authorization