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

Send a scheduled message immediately

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

// Send a scheduled message immediately.
await channel.sendScheduledMessageNow(scheduledMessage.scheduledInfo.scheduledMessageId);