invite

fun invite(userId: String): Completable

Adds a new participant to the current chat.

Return

A completable that will emit when the request is processed. In case of error, it will emit a SippoResourceError.

Parameters

userId

UserId of the participant to be invited.


fun invite(userIds: List<String>): Completable

Adds a list of participants to the current chat.

Return

A completable that will emit when the request is processed. In case of error, it will emit a SippoResourceError.

Parameters

userIds

List of userIds of the participants to be invited.