Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/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.