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

x/grammy/platform.deno.ts>MenuButtonWebApp

The Telegram Bot Framework.
Go to Latest
interface MenuButtonWebApp
import { type MenuButtonWebApp } from "https://deno.land/x/grammy@v1.10.1/platform.deno.ts";

Represents a menu button, which launches a Web App.

Properties

type: "web_app"

Button type, must be web_app

text: string

Text on the button

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.