Methods

sendCustomRequest

Send a custom request. BOT-ONLY

Parameters

method: string

The name of the method.

params: string

The parameters of the method.

Result

string

Syntax

await client.sendCustomRequest(method, params);