Module

x/grammy/mod.ts>Keyboard#webApp

The Telegram Bot Framework.
Very Popular
Go to Latest
method Keyboard.prototype.webApp
import { Keyboard } from "https://dotland.deno.dev/x/grammy@v1.15.2/mod.ts";

Adds a new web app button. The Web App that will be launched when the user presses the button. The Web App will be able to send a “web_app_data” service message. Available in private chats only.

Parameters

text: string

The text to display

url: string

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