kick

fun kick(userId: String, onCompletion: (SippoResourceError?) -> Unit)

Removes a participant from the current chat.

Parameters

userId

UserId of the participant to be kicked.

onCompletion

Callback that will be invoked when the request is completed. It will receive a SippoResourceError if any error occurs. In case of success, error will be null.