Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>auth_importAuthorization_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class auth_importAuthorization_
extends Function_<enums.auth.Authorization>
import { auth_importAuthorization_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Logs in a user using a key transmitted from his native data-center.

Constructors

new
auth_importAuthorization_(params: { id: bigint; bytes: Uint8Array; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
bytes: Uint8Array

Authorization key

id: bigint

User ID

Static Properties

__F: (params: { id: bigint; bytes: Uint8Array; }) => enums.auth.Authorization
readonly
[name]: string
readonly
[paramDesc]: ParamDesc