updateChannelPartial

fun updateChannelPartial(channelType: String, channelId: String, set: Map<String, Any> = emptyMap(), unset: List<String> = emptyList()): Call<Channel>

Updates specific fields of channel data retaining the custom data fields which were set previously.

Return

Executable async Call responsible for updating channel data.

Parameters

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.

set

The key-value data which will be added to the existing channel data object.

unset

The list of fields which will be removed from the existing channel data object.