Available types

WebAppData

Describes data sent from a Web App to the bot.

fields

fieldtyperequireddescription
datastringrequiredThe data. Be aware that a bad client can send arbitrary data in this field.
button_textstringrequiredText 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

types.ts
import type { WebAppData } from "@yaebal/types";

used by

types