Skip to content

Rule.io SDK


Rule.io SDK / rcml/src / CreateSmsPlaceholderNodeOptions

Interface: CreateSmsPlaceholderNodeOptions

Defined in: rcml/src/sms/builders/placeholders.ts:32

Options for createPlaceholderNode.

Properties

maxLength?

optional maxLength?: string | null

Defined in: rcml/src/sms/builders/placeholders.ts:51

Truncation limit (number of characters). Pass a string of digits, e.g. '20'. null (default) means no limit.


name

name: string

Defined in: rcml/src/sms/builders/placeholders.ts:41

Human-readable display label shown in the editor chip.


original

original: string

Defined in: rcml/src/sms/builders/placeholders.ts:39

Backend token the Rule platform substitutes at send time, e.g. '[Subscriber:FirstName]' or '[CustomField:Order.Total]'.


type

type: SmsPlaceholderType

Defined in: rcml/src/sms/builders/placeholders.ts:34

Placeholder category.


value?

optional value?: string | number | null

Defined in: rcml/src/sms/builders/placeholders.ts:46

Resolved preview value shown in the editor, or null (default) when not yet resolved.