Interface SendWebAppCustomRequest

Sends a custom request from a Web App. Request type for Tdjson#sendWebAppCustomRequest.

interface SendWebAppCustomRequest {
    @type: "sendWebAppCustomRequest";
    bot_user_id: number;
    method: string;
    parameters: string;
}

Properties

@type: "sendWebAppCustomRequest"
bot_user_id: number

Identifier of the bot.

method: string

The method name.

parameters: string

JSON-serialized method parameters.