Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>WebAppData

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