Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>LoginUrl

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface LoginUrl
Re-export
import { type LoginUrl } from "https://deno.land/x/mtkruto@0.1.118/mod.ts";

Properties

url: string

An HTTPS URL to be opened with the authorization data appended to the query string when the button is pressed. If the user refuses to provide authorization data, the original URL without information about the user will be opened.

optional
forwardText: string

A different text to use for the button when the message is forwarded.

optional
botUsername: string

Username of a bot, which will be used for user authorization. See Learn more. 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. Learn more.

optional
requestWriteAccess: boolean

Whether to ask the user to allow messages to be received from the specified bot.