Method
Parameters
Configuration for the scheduled message
Returns
The created scheduled message
Examples
One-Time Scheduled Message
Recurring Daily Message
Weekly Reminder
Notes
- All timestamps are in milliseconds (use
Date.now()ornew Date().getTime()) - For recurring messages,
scheduledForsets the first occurrence time - The interval types determine the frequency: hourly, daily, weekly, monthly, or yearly
- Use
intervalto skip periods (e.g.,interval: 2withintervalType: "weekly"sends every 2 weeks) - Scheduled messages persist until deleted or the schedule completes