Appearance
Rule.io SDK / rcml/src / CreateSmsDocumentOptions
Interface: CreateSmsDocumentOptions
Defined in: rcml/src/sms/create-sms-document.ts:17
Options for createSmsDocument.
Properties
content
content:
string|SmsContentJson
Defined in: rcml/src/sms/create-sms-document.ts:27
The SMS message body.
Accepts either:
- A string in SMS RFM (SMS Rule Flavor Markdown) — use
::placeholder{…}for dynamic values,:link[url]{…}for links, and::unsubscribefor the footer. Both\nand\n\nare preserved as\ncharacters insidemessagenode text. - A pre-built SmsContentJson document — validated on the way in.