Skip to content

Rule.io SDK


Rule.io SDK / client/src / UpdateSmsCampaignMessagePayload

Interface: UpdateSmsCampaignMessagePayload

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

Payload for MessagesClient.updateSmsCampaignMessage.

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

Example

typescript
await client.messages.updateSmsCampaignMessage(messageId, {
  subject: 'Updated: your order has shipped!',
});

Properties

subject?

optional subject?: string

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

New SMS message body text.


utmCampaign?

optional utmCampaign?: string | null

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

New UTM campaign parameter. Pass null to clear.


utmTerm?

optional utmTerm?: string | null

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

New UTM term parameter. Pass null to clear.