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_exportLoginToken_

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

Generate a login token, for login via QR code.
The generated login token should be encoded using base64url, then shown as a tg://login?token=base64encodedtoken deep link » in the QR code.

Constructors

new
auth_exportLoginToken_(params: { api_id: number; api_hash: string; except_ids: Array<bigint>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
api_hash: string

Application identifier hash (see. App configuration)

api_id: number

Application identifier (see. App configuration)

except_ids: Array<bigint>

List of already logged-in user IDs, to prevent logging in twice with the same user

Static Properties

__F: (params: { api_id: number; api_hash: string; except_ids: Array<bigint>; }) => enums.auth.LoginToken
readonly
[name]: string
readonly
[paramDesc]: ParamDesc