Skip to main content
Module

x/grammy/types.ts>WebAppData

The Telegram Bot Framework.
Very Popular
Go to Latest
interface WebAppData
import { type WebAppData } from "https://deno.land/x/grammy@v1.12.0/types.ts";

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.