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

x/mtkruto/tl/2_types.ts>UrlAuthResultRequest_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UrlAuthResultRequest_
import { UrlAuthResultRequest_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Details about the authorization request, for more info click here »

Constructors

new
UrlAuthResultRequest_(params: { request_write_access?: true; bot: enums.User; domain: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
bot: enums.User

Username of a bot, which will be used for user authorization. If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain linked with the bot. See Linking your domain to the bot for more details.

domain: string

The domain name of the website on which the user will log in.

optional
request_write_access: true

Whether the bot would like to send messages to the user

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc