Skip to content

Rule.io SDK


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 \n becomes a hard break, and double \n\n starts a new paragraph.
  • A pre-built SmsContentJson document — validated on the way in.