Example Usage

import { CustomMessageResponse } from "syllable-sdk/models/components";

let value: CustomMessageResponse = {
  name: "<value>",
  text: "<value>",
  id: 572252,
  updatedAt: new Date("2022-09-02T11:56:21.354Z"),
  lastUpdatedBy: "<value>",
};

Fields

FieldTypeRequiredDescription
namestringTRUEThe name of the custom message
textstringTRUEThe text of the custom message
labelstringFALSEThe label of the custom message
rulescomponents.DaoCustomMessageRule[]FALSERules for time-specific message variants
idnumberTRUEThe ID of the custom message
updatedAtDateTRUETimestamp of the most recent update to the custom message
agentCountnumberFALSEThe number of agents using the custom message
lastUpdatedBystringTRUEThe email address of the user who most recently updated the custom message
typestringFALSEN/A