close.updateSms modifies a draft Close SMS or cancels a scheduled or outbox message that Close has not sent yet.
automations/update-close-sms.automation.ts
text to be modified while an SMS is a draft. Provide smsId and at least one documented mutable SMS field. Set status to scheduled with dateScheduled to send a draft later, or set it to outbox to send immediately. A scheduled or outbox message that Close has not sent yet can be canceled by setting status back to draft. Close can reuse the draft’s existing local phone number, so you don’t need to repeat localPhone in the update. Optional second argument { account } selects a named binding. Returns the updated CloseSms.