Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
interface KeyboardButton.WebAppButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy@v1.10.1/platform.deno.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.