createChannel
abstract fun createChannel( name: String, topic: String? = null, mode: Channel.Mode? = null, category: String? = null, autoProvisioning: Boolean? = null, maxItems: Int? = null, listener: RainbowListener<Channel, Unit>? = null)
Create a closed company channel.
Parameters
name
String name of the channel
topic
String topic of the channel
mode
ChannelMode mode 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