createScheduledUserMessage

fun GroupChannel.createScheduledUserMessage(scheduledUserMessageCreateParams: ScheduledUserMessageCreateParams, handler: ResultHandler<UserMessage>?): UserMessage

Create scheduled user message

Return

The created user message.

Since

3.0.160

Parameters

scheduledUserMessageCreateParams

The params to create a scheduled user message.

handler

The handler to be invoked when the operation completes.


fun GroupChannel.createScheduledUserMessage(scheduledUserMessageCreateParams: ScheduledUserMessageCreateParams): Flow<ScheduledMessageResult<UserMessage>>

Deprecated

As of 4.17.0, replaced with createScheduledUserMessageFlow(scheduledUserMessageCreateParams).

Replace with

createScheduledUserMessageFlow(scheduledUserMessageCreateParams)

Create scheduled user message

Return

return the created user message or throw SendbirdException if request failed.

Since

4.15.0

Parameters

scheduledUserMessageCreateParams

Params of scheduled user message. Refer to ScheduledUserMessageCreateParams.