/ SDKs / JavaScript
SDKs
Chat SDKs JavaScript v4
Chat SDKs JavaScript
Chat SDKs
JavaScript
Version 4

Send a scheduled message immediately

Copy link

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

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