create Channel
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.
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.
Deprecated
As of 4.17.0, replaced with awaitCreateChannel(params).
Replace with
awaitCreateChannel(params)
Content copied to clipboard
Creates GroupChannel
with GroupChannelCreateParams.
Return
The created channel.
Since
4.15.0
Parameters
params
Params of channel. Refer to GroupChannelCreateParams.
Deprecated
As of 4.17.0, replaced with awaitCreateChannel(params).
Replace with
awaitCreateChannel(params)
Content copied to clipboard
Creates new OpenChannel
with OpenChannelParams.
Return
The created channel.
Since
4.15.0
Parameters
params
The params to create new channel.