createDistinctChannelIfNotExist

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.


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

Deprecated

As of 4.17.0, replaced with awaitCreateDistinctChannelIfNotExist(params).

Replace with

awaitCreateDistinctChannelIfNotExist(params)

Create distinct channel if not exist

Return

The created channel.

Since

4.15.0

Parameters

params

Params of channel. Refer to GroupChannelCreateParams.