TestMessage
- authorType: "bot" or "user"enumrequired
userfor the visitor,botfor everything else the web chat shows: the bot, and also an agent or the system should either write in a test conversation. - buttonsType:requiredProperties: 2
The buttons it offers, empty when it offers none.
- createdType:
_at requiredA 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. - idType: stringrequired
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. - textType: string | nullrequired
What it says in plain text, or the question a set of buttons asks.
nullfor a message carrying none, such as an image. - typeType: stringrequired
The kind of message the runtime sent, as it names it, such as
textordialog.