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

x/grammy_autoquote/deps.deno.ts>InlineKeyboard.login

grammY plugin that forces all sent messages to quote the last received one
Go to Latest
method InlineKeyboard.login
import { InlineKeyboard } from "https://deno.land/x/grammy_autoquote@v2.0.0/deps.deno.ts";

Creates a new login button. This can be used as a replacement for the Telegram Login Widget. You must specify an HTTPS URL used to automatically authorize the user.

Parameters

text: string

The text to display

loginUrl: string | LoginUrl

The login URL as string or LoginUrl object