Skip to main content
Module

x/grammy_menu/mod.ts>MenuRange#webApp

Easily create interactive menus with grammY.
Go to Latest
method MenuRange.prototype.webApp
import { MenuRange } from "https://deno.land/x/grammy_menu@v1.1.2/mod.ts";

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

Parameters

text: string

The text to display

url: string

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