TestMessage

  • user for the visitor, bot for everything else the web chat shows: the bot, and also an agent or the system should either write in a test conversation.

  • The buttons it offers, empty when it offers none.

    Properties: 2
  • A moment, in UTC, written as YYYY-MM-DDTHH:MM:SS. It carries no offset and no fraction of a second, so a client that reads it as local time is wrong by whatever its own offset is.

  • The message, to pass as after. A greeting message is named after its place in the greeting (welcome-0); every other one carries the id it is stored with.

  • What it says in plain text, or the question a set of buttons asks. null for a message carrying none, such as an image.

  • The kind of message the runtime sent, as it names it, such as text or dialog.