Appearance
Rule.io SDK / rcml/src / CreateSmsDocumentOptions
Interface: CreateSmsDocumentOptions
Defined in: rcml/src/sms/create-sms-document.ts:15
Options for createSmsDocument.
Properties
content
content:
string|SmsContentJson
Defined in: rcml/src/sms/create-sms-document.ts:25
The SMS message body.
Accepts either:
- A string in SMS RFM (SMS Rule Flavor Markdown) — placeholders use
[Type:Name]syntax (e.g.[Subscriber:FirstName]), single\nbecomes a hard break, and double\n\nstarts a new paragraph. - A pre-built SmsContentJson document — validated on the way in.