Module

x/grammy_types/mod.ts>KeyboardButton.WebAppButton

Type declarations of the Telegram Bot API.
Latest
interface KeyboardButton.WebAppButton
implements CommonButton
import { type KeyboardButton } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/mod.ts";
const { WebAppButton } = KeyboardButton;

Properties

web_app: WebAppInfo

If specified, the described Web App will be launched when the button is pressed. The Web App will be able to send a “web_app_data” service message. Available in private chats only.