Function discard_call

Source
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 identifier
  • is_disconnected - Pass true if the user was disconnected
  • duration - The call duration, in seconds
  • is_video - Pass true if the call was a video call
  • connection_id - Identifier of the connection used during the call
  • client_id - The client id to send the request to