WebAppData
Describes data sent from a Web App to the bot.
fields
| field | type | required | description |
|---|---|---|---|
data | string | required | The data. Be aware that a bad client can send arbitrary data in this field. |
button_text | string | required | 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. |
import
import type { WebAppData } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#webappdata