Function send_custom_request

Source
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 name
  • parameters - JSON-serialized method parameters
  • client_id - The client id to send the request to