Actions95
- Bot Actions
- Chat Actions
- Chat Member Actions
- Custom Property Actions
- Draft Actions
- File Actions
- Form Actions
- Group Tag Actions
- Message Actions
- OAuth Actions
- Profile Actions
- Reaction Actions
- Read Member Actions
- Search Actions
- Security Actions
- Task Actions
- Thread Actions
- User Actions
Draft → Update
AI-generatedSummary
Update a Pachca draft by ID. You can change its text, attachments, reply target, or sending schedule; the operation requires an owner, admin, or user role.
Inputs
- ID (required) — ID of the draft to update.
- Content — Replacement draft text.
- Files — Attachment list that replaces the existing set, with a maximum of ten files. Pass an existing attachment's ID to keep it; pass an empty list to remove all attachments. Each file can include its uploaded file key, name, type, size, dimensions, duration, and waveform. Duration and waveform are required for voice messages.
- Parent Message ID — ID of the message to reply to. Set to null to remove the reply target.
- Schedule — JSON sending schedule. Setting it on an ordinary draft schedules the message. A scheduled message's schedule can be changed but not removed; null is rejected.
Output shape
a single updated draft record
Attachments remain unchanged when Files is omitted. The operation is restricted to owner, admin, or user roles.