archiveBubble

abstract fun archiveBubble(room: IRainbowRoom, listener: RainbowListener<IRainbowRoom, Unit>? = null)

Archive a bubble, Two possible cases:

  1. If you are the owner, all participants are archived.

  2. If you are NOT the owner, you just leave the bubble.

Parameters

room

IRainbowRoom The bubble you want to archive

listener

RainbowListener callback (onSuccess, onError)