updateChannel

fun GroupChannel.updateChannel(params: GroupChannelUpdateParams, handler: ResultHandler<GroupChannel>?)

Update this channel with GroupChannelUpdateParams.

Return

The updated channel.

Since

4.15.0

Parameters

params

The params to update a channel.

handler

The handler to be invoked when the operation completes.


fun OpenChannel.updateChannel(params: OpenChannelUpdateParams, handler: ResultHandler<OpenChannel>)

Update this channel with OpenChannelParams.

Since

4.15.0

Parameters

params

The params to update this channel.

handler

The handler to be invoked when the operation completes.


suspend fun GroupChannel.updateChannel(params: GroupChannelUpdateParams): GroupChannel

Deprecated

As of 4.17.0, replaced with awaitUpdateChannel(params).

Replace with

awaitUpdateChannel(params)

Update this channel with GroupChannelUpdateParams.

Return

The updated channel.

Since

4.15.0

Parameters

params

Params of channel. Refer to GroupChannelUpdateParams.


suspend fun OpenChannel.updateChannel(params: OpenChannelUpdateParams): OpenChannel

Deprecated

As of 4.17.0, replaced with awaitUpdateChannel(params).

Replace with

awaitUpdateChannel(params)

Update this channel with OpenChannelParams.

Return

The updated channel.

Since

4.15.0

Parameters

params

Params of channel. Refer to OpenChannelCreateParams.