deleteUsersFromChannel

abstract fun deleteUsersFromChannel(channel: Channel, contactsId: List<String>, listener: RainbowListener<Pair<List<ChannelUser>, List<String>>, Unit>? = null)

Removes users from a Channel.

Parameters

channel

Channel The channel where the users are updated

contactsId

List The user list to remove

listener

RainbowListener, List>, Unit> callback (onSuccess, onError)


abstract fun deleteUsersFromChannel(channel: Channel, contacts: ArrayList<IRainbowContact>, listener: RainbowListener<Pair<List<ChannelUser>, List<String>>, Unit>? = null)

Removes users from a Channel.

Parameters

channel

Channel The channel where the users are updated

contacts

List<IRainbowContact> The list of users to remove

listener

RainbowListener, List>, Unit> callback (onSuccess, onError)