deleteChannel

abstract suspend fun deleteChannel(channelId: String): RainbowResult<Unit>

Delete a channel.

This method allows you to permanently delete a channel by its ID. Once deleted, the channel and all its content will be removed from the platform and cannot be recovered.

Only the owner are allowed to delete a channel.

Return

A RainbowResult indicating the success or failure of the operation. In case of failure, it contains error details.

Parameters

channelId

The unique identifier of the Channel to be deleted.