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 nameparameters
- JSON-serialized method parametersclient_id
- The client id to send the request to