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

try {  
  // Send a scheduled message immediately.
  await groupChannel.sendScheduledMessageNow(
    scheduledMessageId: SCHEDULED_MESSAGE_ID,
} catch (e) {
  // Handle error.