Skip to content

sendCustomRequest

Function · TDLib 1.8.67 · d1085f9c

Sends a custom request; for bots only

sendCustomRequest(
  method: string,
  parameters: string
) → CustomRequestResult

method

string

The method name

parameters

string

JSON-serialized method parameters