telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface WebAppData

    Describes data sent from a Web App to the bot.

    interface WebAppData {
        button_text: string;
        data: string;
    }
    Index
    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.

    data: string

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