ScheduleMessageRequest
Request to schedule a bot message in an existing dialogue. Used by the platform's dialogue UI and by n8n callbacks. The text may be split into multiple parts and is subject to working-hours scheduling and typing delays unless disabled.
ID of the dialogue (conversation) this record relates to.
The message text to send. For file messages this is used as the default file caption when file_caption is omitted.
IDs of product files to attach to this manual message.
file_caption object
Optional user-facing caption for attached files. If omitted, message is used as the caption.
- string
- null
send_not_before object
Earliest time the message may be sent (UTC); scheduling still respects working hours.
- date-time
- null
reply_on_msg_id object
If a newer user message than this id arrives before sending, the scheduled message is cancelled.
- integer
- null
Apply a human-like typing delay before sending. Defaults to true.
trueRespect the agent's working-hours schedule. Defaults to true.
truesplit object
Whether to split long text into multiple messages. Null uses the default behavior.
- boolean
- null
Perform one stale-reply check before scheduling and skip if a newer user message exists. Defaults to true.
trueprompt_id object
Optional prompt this message was generated from (for attribution).
- integer
- null
prepared_message_id object
Optional prepared-message template this message came from (for attribution).
- integer
- null
ping_config_id object
Optional ping config this message belongs to (for attribution).
- integer
- null
ping_step_number object
Optional ping step number this message belongs to.
- integer
- null
Whether a newer incoming user message cancels this scheduled message. Defaults to true.
true{
"dialogue_id": 0,
"message": "string",
"source_file_ids": [
0
],
"file_caption": "string",
"send_not_before": "2024-07-29T15:51:28.071Z",
"reply_on_msg_id": 0,
"delay_enabled": true,
"schedule_enabled": true,
"split": true,
"debounce_guard": true,
"prompt_id": 0,
"prepared_message_id": 0,
"ping_config_id": 0,
"ping_step_number": 0,
"is_interruptible": true
}