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

x/grammy/mod.ts>InlineKeyboard#webApp

The Telegram Bot Framework.
Very Popular
Latest
method InlineKeyboard.prototype.webApp
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.32.0/mod.ts";

Adds 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