addParticipantsToBubble

abstract fun addParticipantsToBubble(room: IRainbowRoom, contactsList: ArrayList<IRainbowContact>, listener: RainbowListener<Unit, AddRoomParticipantsError>? = null)

Add a list of participants to a bubble with invitations and as users.

Parameters

room

IRainbowRoom The bubble where the participants are added

contactsList

ArrayList<IRainbowContact> The list of participants to add in the bubble

listener

RainbowListenerAddRoomParticipantsError> callback (onSuccess, onError)


abstract fun addParticipantsToBubble(room: IRainbowRoom, contactsList: ArrayList<IRainbowContact>, asModerators: Boolean, withInvitations: Boolean, listener: RainbowListener<Unit, AddRoomParticipantsError>? = null)

Add a list of participants to a bubble.

Parameters

room

IRainbowRoom The bubble where the participants are added

contactsList

ArrayList<IRainbowContact> The list of participants to add in the bubble

asModerators

boolean Set to true to invite all contacts as moderators (false by default)

withInvitations

boolean Set to true to send invitations or false to add directly in the bubble (true by default)

listener

RainbowListenerAddRoomParticipantsError> callback (onSuccess, onError)