createClosedChannel

abstract fun createClosedChannel(name: String, description: String?, category: String?, autoProvisioning: Boolean, maxItems: Int, listener: RainbowListener<Channel, Unit>? = null)

Create a closed company channel.

Parameters

name

String name of the channel

description

String description of the channel

category

String category of the channel

autoProvisioning

boolean fills the channel with all members of the company

maxItems

int max items allowed to be added in this channel (optional, default to 100)

listener

RainbowListener callback (onSuccess, onError)