Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
method InlineKeyboard.webApp
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.31.0/convenience/keyboard.ts";

Creates a new web app button, confer https://core.telegram.org/bots/webapps

Parameters

text: string

The text to display

url: string | WebAppInfo

An HTTPS URL of a Web App to be opened with additional data

Returns

InlineKeyboardButton.WebAppButton