pub async fn send_custom_request(
method: String,
parameters: String,
client_id: i32,
) -> Result<CustomRequestResult, Error>
Expand description
Sends a custom request; for bots only
ยงArguments
method
- The method nameparameters
- JSON-serialized method parametersclient_id
- The client id to send the request to