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 calledprotocol
- The call protocols supported by the applicationis_video
- Pass true to create a video callclient_id
- The client id to send the request to