Skip to content

Rule.io SDK


Rule.io SDK / client/src / UpdateSmsAutomationMessagePayload

Interface: UpdateSmsAutomationMessagePayload

Defined in: client/src/resources/messages/messages.types.ts:441

Payload for MessagesClient.updateSmsAutomationMessage.

All fields are optional — only the fields you include are changed.

Example

typescript
await client.messages.updateSmsAutomationMessage(messageId, {
  automailSetting: { active: true, delayInSeconds: '3600' },
});

Properties

automailSetting?

optional automailSetting?: AutomailSetting

Defined in: client/src/resources/messages/messages.types.ts:447

New automail delivery settings. Omit to leave unchanged.


utmCampaign?

optional utmCampaign?: string | null

Defined in: client/src/resources/messages/messages.types.ts:443

New UTM campaign parameter. Pass null to clear.


utmTerm?

optional utmTerm?: string | null

Defined in: client/src/resources/messages/messages.types.ts:445

New UTM term parameter. Pass null to clear.