Function tdlib_rs::functions::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