createScheduledFileMessage

fun GroupChannel.createScheduledFileMessage(scheduledFileMessageCreateParams: ScheduledFileMessageCreateParams, handler: ResultHandler<FileMessage>?): FileMessage?

Create scheduled file message

Return

The created file message.

Since

3.0.160

Parameters

scheduledFileMessageCreateParams

The params to create a scheduled file message.

handler

The handler to be invoked when the operation completes.


fun GroupChannel.createScheduledFileMessage(scheduledFileMessageCreateParams: ScheduledFileMessageCreateParams): Flow<ScheduledMessageResult<FileMessage>>

Deprecated

As of 4.17.0, replaced with createScheduledFileMessageFlow(scheduledFileMessageCreateParams).

Replace with

createScheduledFileMessageFlow(scheduledFileMessageCreateParams)

Create scheduled file message

Return

return the created file message, or throw SendbirdException if request failed.

Since

4.15.0

Parameters

scheduledFileMessageCreateParams

Params of scheduled file message. Refer to ScheduledFileMessageCreateParams.