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

x/grammy_menu/mod.ts>MenuRange#webApp

Interactive menus for grammY.
Go to Latest
method MenuRange.prototype.webApp
import { MenuRange } from "https://deno.land/x/grammy_menu@v1.2.2/mod.ts";

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

Parameters

text: MaybeDynamicString<C>

The text to display

url: string

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