add Participants To Bubble
abstract suspend fun addParticipantsToBubble(room: IRainbowRoom, contactsList: List<IRainbowContact>): RainbowResult<Unit>
Add a list of participants to a bubble with invitations and as users.
Return
RainbowResult
Parameters
room
IRainbowRoom The bubble where the participants are added
contacts List
List<IRainbowContact> The list of participants to add in the bubble
abstract suspend fun addParticipantsToBubble(room: IRainbowRoom, contactsList: List<IRainbowContact>, asModerators: Boolean, withInvitations: Boolean): RainbowResult<Unit>
Add a list of participants to a bubble.
Return
RainbowResult
Parameters
room
IRainbowRoom The bubble where the participants are added
contacts List
List<IRainbowContact> The list of participants to add in the bubble
as Moderators
boolean Set to true to invite all contacts as moderators (false by default)
with Invitations
boolean Set to true to send invitations or false to add directly in the bubble (true by default)