updateChannel

abstract fun updateChannel(channelId: String, name: String? = null, topic: String? = null, mode: Channel.Mode? = null, category: String? = null, maxItems: Int? = null, listener: RainbowListener<Channel, Unit>?)

Update a channel.

Parameters

channelId

String The channel id to update

name

String name of the channel

topic

String topic of the channel

mode

ChannelMode mode of the channel

category

String category of the channel

maxItems

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

listener

RainbowListener callback (onSuccess, onError)