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