Function create_call

Source
pub async fn create_call(
    user_id: i64,
    protocol: CallProtocol,
    is_video: bool,
    client_id: i32,
) -> Result<CallId, Error>
Expand description

Creates a new call

ยงArguments

  • user_id - Identifier of the user to be called
  • protocol - The call protocols supported by the application
  • is_video - Pass true to create a video call
  • client_id - The client id to send the request to