teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSendWebViewDataParams

    interface MessagesSendWebViewDataParams {
        bot: EntityLike;
        buttonText: string;
        data: string;
        randomId?: BigInteger;
    }
    Index
    bot: EntityLike

    Bot that owns the web app

    buttonText: string

    Text of the keyboardButtonSimpleWebView that was pressed to open the web app.

    data: string

    Data to relay to the bot, obtained from a web_app_data_send JS event .

    randomId?: BigInteger

    Unique client message ID to prevent duplicate sending of the same event