Module

x/grammy_types/markup.ts>KeyboardButton.WebAppButton

Type declarations of the Telegram Bot API.
Go to Latest
interface KeyboardButton.WebAppButton
implements CommonButton
import { type KeyboardButton } from "https://dotland.deno.dev/x/grammy_types@v3.8.0/markup.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.