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

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

MTProto API Client for Deno 🦕
Go to Latest
class Api.auth.Authorization
extends VirtualClass<{ setupPasswordRequired?: boolean; otherwiseReloginDays?: int; tmpSessions?: int; user: Api.TypeUser; }>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { Authorization } = Api.auth;

Properties

className: "auth.Authorization"
classType: "constructor"
CONSTRUCTOR_ID: 872119224
optional
otherwiseReloginDays: int
optional
setupPasswordRequired: boolean
SUBCLASS_OF_ID: 3118485049
optional
tmpSessions: int
user: Api.TypeUser

Static Methods

fromReader(reader: Reader): Authorization