createChannel

suspend fun GroupChannel.Companion.createChannel(params: GroupChannelCreateParams): GroupChannel

Creates GroupChannel with GroupChannelCreateParams.

Return

The created channel.

Since

4.15.0

Parameters

params

Params of channel. Refer to GroupChannelCreateParams.


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

Creates GroupChannel with GroupChannelCreateParams.

Since

4.15.0

Parameters

params

Params of channel. Refer to GroupChannelCreateParams.

handler

The handler to be invoked when the operation completes.


suspend fun OpenChannel.Companion.createChannel(params: OpenChannelCreateParams): OpenChannel

Creates new OpenChannel with OpenChannelParams.

Return

The created channel.

Since

4.15.0

Parameters

params

The params to create new channel.


fun OpenChannel.Companion.createChannel(params: OpenChannelCreateParams, handler: ResultHandler<OpenChannel>)

Creates new OpenChannel with OpenChannelParams.

Since

4.15.0

Parameters

params

The params to create new channel.

handler

The handler to be invoked when the operation completes.