/ SDKs / iOS
SDKs
Chat SDKs iOS v4
Chat SDKs iOS
Chat SDKs
iOS
Version 4

Send scheduled message immediately

Copy link

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

groupChannel.sendScheduledMessageNow(scheduledMessageId: SCHEDULED_MESSAGE_ID) { error in
    guard error == nil else {
        return // Handle error.
    }
}