scheduleMessage

fun scheduleMessage(message: Message, scheduledAt: Date): Call<ScheduledMessage>

Schedules a message to be sent to this channel at scheduledAt. See ChatClient.scheduleMessage.

Return

Executable async Call responsible for scheduling the message, with the scheduled message as saved locally.

Parameters

message

The message to send. Set Message.parentId to schedule a thread reply.

scheduledAt

The date when the message is sent. The server rounds it up to the next minute.