Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>KeyboardButton.WebAppButton

Hydration plugin for API calls and context objects.
Latest
interface KeyboardButton.WebAppButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.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.