addParticipantToBubble
abstract suspend fun addParticipantToBubble(room: IRainbowRoom, contact: IRainbowContact): RainbowResult<Unit>
Add one participant to a bubble with invitation and as a user.
Return
RainbowResult
Parameters
room
IRainbowRoom The bubble where the participant is added
contact
IRainbowContact The contact to add in the bubble
abstract suspend fun addParticipantToBubble( room: IRainbowRoom, contact: IRainbowContact, asModerator: Boolean, withInvitation: Boolean): RainbowResult<Unit>
Add one participant to a bubble.
Return
RainbowResult
Parameters
room
IRainbowRoom The bubble where the participant is added
contact
IRainbowContact The contact to add in the bubble
asModerator
boolean Set to true to invite a contact as a moderator (false by default)
withInvitation
boolean Set to true to send an invitation or false to add someone directly in a bubble (true by default)