Module

x/grammy/mod.ts>InlineKeyboard.webApp

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

Creates 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

Returns

InlineKeyboardButton.WebAppButton