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_importBotAuthorization_

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

Login as a bot

Constructors

new
auth_importBotAuthorization_(params: { flags: number; api_id: number; api_hash: string; bot_auth_token: string; })

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)

bot_auth_token: string

Bot token (see bots)

flags: number

Reserved for future use

Static Properties

__F: (params: { flags: number; api_id: number; api_hash: string; bot_auth_token: string; }) => enums.auth.Authorization
readonly
[name]: string
readonly
[paramDesc]: ParamDesc