Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/markup.ts>InlineKeyboardButton.WebAppButton

Type declarations of the Telegram Bot API.
Latest
interface InlineKeyboardButton.WebAppButton
implements AbstractInlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_types@v3.15.0/markup.ts";
const { WebAppButton } = InlineKeyboardButton;

Properties

web_app: WebAppInfo

Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only in private chats between a user and the bot. Not supported for messages sent on behalf of a Telegram Business account.