updateScheduledUserMessage

fun GroupChannel.updateScheduledUserMessage(scheduledMessageId: Long, scheduledUserMessageUpdateParams: ScheduledUserMessageUpdateParams, handler: ResultHandler<UserMessage>?)

Update scheduled user message

Since

4.15.0

Parameters

scheduledMessageId

The scheduled message id to update.

scheduledUserMessageUpdateParams

Params of scheduled user message. Refer to ScheduledUserMessageUpdateParams.

handler

The handler to be invoked when the operation completes.


suspend fun GroupChannel.updateScheduledUserMessage(scheduledMessageId: Long, scheduledUserMessageUpdateParams: ScheduledUserMessageUpdateParams): UserMessage

Deprecated

As of 4.17.0, replaced with awaitUpdateScheduledUserMessage(scheduledMessageId, scheduledUserMessageUpdateParams).

Replace with

awaitUpdateScheduledUserMessage(scheduledMessageId, scheduledUserMessageUpdateParams)

Update a scheduled user message with scheduledMessageId and ScheduledUserMessageUpdateParams.

Since

4.15.0

Parameters

scheduledMessageId

The scheduled message id to update.

scheduledUserMessageUpdateParams

Params of scheduled user message. Refer to ScheduledUserMessageUpdateParams.