Chat / Android
Chat Android v4
Chat Android
Chat
Android
Home
/
Chat
/
Android
/
Message
This is the new Docs for Chat SDK v4 for Android. To see the previous Docs, click here.

Send scheduled message immediately

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.
}