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

Send scheduled message immediately

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