channel

fun channel(channelType: String, channelId: String): ChannelClient

Returns a ChannelClient for given type and id.

Parameters

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.


Returns a ChannelClient for given cid.

Parameters

cid

The full channel id. ie messaging:123.