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>messages_acceptUrlAuth_

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

Use this to accept a Seamless Telegram Login authorization request, for more info click here »

Constructors

new
messages_acceptUrlAuth_(params?: { write_allowed?: true; peer?: enums.InputPeer; msg_id?: number; button_id?: number; url?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
button_id: number

ID of the login button

optional
msg_id: number

Message ID of the message with the login button

optional
peer: enums.InputPeer

The location of the message

optional
write_allowed: true

Set this flag to allow the bot to send messages to you (if requested)

Static Properties

__F: (params?: { write_allowed?: true; peer?: enums.InputPeer; msg_id?: number; button_id?: number; url?: string; }) => enums.UrlAuthResult
readonly
[name]: string
readonly
[paramDesc]: ParamDesc