Message sent in a test chat with an agent.

Example Usage

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

let value: TestMessage = {
  serviceName: "<value>",
  source: "<value>",
  testId: "<id>",
  agentId: "<id>",
  orgName: "<value>",
};

Fields

FieldTypeRequiredDescription
serviceNamestringTRUEName of the service producing the message
sourcestringTRUEName of the source of the message, should identify the user, like an email or username
textstringFALSEThe text of the message
testIdstringTRUEChannel-manager-side ID of the session (see Session.channel_manager_sid)
agentIdstringTRUEID of the agent with which the chat is taking place
orgNamestringTRUEName of the organization associated with the agent
overrideTimestampstringFALSEOverride for the timestamp of the message
sessionStartbooleanFALSEWhether this message is the start of a new session