addParticipantsToBubble
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
contactsList
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
contactsList
List<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)