updateUsersToChannel
abstract fun updateUsersToChannel( channel: Channel, type: ChannelUserAffiliationType, contactsId: List<String>, listener: RainbowListener<Pair<List<ChannelUser>, List<String>>, Unit>? = null)
Updates users to a Channel with specific ChannelUserAffiliationType.
Parameters
channel
Channel The channel where the users are updated
type
ChannelUserAffiliationType The type of user to update
contactsId
List
listener
RainbowListener
abstract fun updateUsersToChannel( channel: Channel, type: ChannelUserAffiliationType, contacts: ArrayList<IRainbowContact>, listener: RainbowListener<Pair<List<ChannelUser>, List<String>>, Unit>? = null)
Updates users to a Channel with specific ChannelUserAffiliationType.
Parameters
channel
Channel The channel where the users are updated
type
ChannelUserAffiliationType The type of user to update
contacts
List<IRainbowContact> The user list to add
listener
RainbowListener