createDistinctChannelIfNotExist

suspend fun GroupChannel.Companion.createDistinctChannelIfNotExist(params: GroupChannelCreateParams): CreateDistinctChannelResult

Create distinct channel if not exist

Return

The created channel.

Since

4.15.0

Parameters

params

Params of channel. Refer to GroupChannelCreateParams.


fun GroupChannel.Companion.createDistinctChannelIfNotExist(params: GroupChannelCreateParams, handler: ResultHandler<CreateDistinctChannelResult>?)

Create distinct channel if not exist

Since

4.15.0

Parameters

params

Params of channel. Refer to GroupChannelCreateParams.

handler

The handler to be invoked when the operation completes.