archiveBubble

abstract suspend fun archiveBubble(room: IRainbowRoom): RainbowResult<IRainbowRoom>

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.

Return

RainbowResult<IRainbowRoom> callback (onSuccess, onError)

Parameters

room

IRainbowRoom The bubble you want to archive