Skip to content

Rule.io SDK


Rule.io SDK / rcml/src / SmsPlaceholderNode

Type Alias: SmsPlaceholderNode

SmsPlaceholderNode = object

Defined in: rcml/src/sms/content/json-validator/types.ts:52

A dynamic placeholder replaced with subscriber or account data at send time.

Properties ​

attrs ​

attrs: object

Defined in: rcml/src/sms/content/json-validator/types.ts:54

max-length? ​

optional max-length?: string | null

Optional maximum character length for the rendered value.

name ​

name: string

Human-readable display name for the placeholder.

original ​

original: string

Original source token (e.g. [Subscriber:email]).

type ​

type: SmsPlaceholderType

Category of the placeholder.

value ​

value: string | number | null

The resolved preview value, or null if unavailable.


type ​

type: "placeholder"

Defined in: rcml/src/sms/content/json-validator/types.ts:53