channel

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

Returns ChannelState that represents a state of particular channel.

Return

ChannelState object.

Parameters

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.