pub async fn discard_call(
call_id: i32,
is_disconnected: bool,
duration: i32,
is_video: bool,
connection_id: i64,
client_id: i32,
) -> Result<(), Error>Expand description
Discards a call
ยงArguments
call_id- Call identifieris_disconnected- Pass true if the user was disconnectedduration- The call duration, in secondsis_video- Pass true if the call was a video callconnection_id- Identifier of the connection used during the callclient_id- The client id to send the request to