Interface SendCustomRequest

Sends a custom request; for bots only. Request type for Tdjson#sendCustomRequest.

interface SendCustomRequest {
    @type: "sendCustomRequest";
    method: string;
    parameters: string;
}

Properties

@type: "sendCustomRequest"
method: string

The method name.

parameters: string

JSON-serialized method parameters.