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

Cancel a scheduled message

Copy link

Use the cancelScheduledMessage() method to cancel a message that a user has scheduled to send at a later time.

JavaScriptTypeScript
// Cancel a scheduled message.
await groupChannel.cancelScheduledMessage(scheduledMessageId);