Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface grammy.WebAppData
import { type grammy } from "https://deno.land/x/abstract_bot_api@85.0.0/deps.ts";
const { WebAppData } = grammy;

Describes data sent from a Web App to the bot.

Properties

data: string

The data. Be aware that a bad client can send arbitrary data in this field.

button_text: string

Text of the web_app keyboard button from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.