add Participant To Bubble
abstract fun addParticipantToBubble(room: IRainbowRoom, contact: IRainbowContact, listener: RainbowListener<Unit, AddRoomParticipantsError>? = null)
Add one participant to a bubble with invitation and as a user.
Parameters
room
IRainbowRoom The bubble where the participant is added
contact
IRainbowContact The contact to add in the bubble
listener
RainbowListener
abstract fun addParticipantToBubble(room: IRainbowRoom, contact: IRainbowContact?, asModerator: Boolean, withInvitation: Boolean, listener: RainbowListener<Unit, AddRoomParticipantsError>? = null)
Add one participant to a bubble.
Parameters
room
IRainbowRoom The bubble where the participant is added
contact
IRainbowContact The contact to add in the bubble
as Moderator
boolean Set to true to invite a contact as a moderator (false by default)
with Invitation
boolean Set to true to send an invitation or false to add someone directly in a bubble (true by default)
listener
RainbowListener