/ SDKs / Android
Chat SDKs Android v4
Chat SDKs Android
Chat SDKs
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.

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