/ SDKs / Android
SDKs
Chat SDKs Android v4
Chat SDKs Android
Chat SDKs
Android
Version 4

Send scheduled message immediately

Copy link

Use the sendScheduledMessageNow() method to send a scheduled message immediately instead of sending it at the scheduled time.

KotlinKTX
// Sends a scheduled message immediately.
groupChannel.sendScheduledMessageNow(scheduledMessageId) { e ->
    if (e != null) {
        // Handle error.
    }
    
    // A scheduled message has been sent immediately.
}