Payload
string
required
The chat the message was sent in. Always present.
string
The visitor who sent it.
string
The message, with leading and trailing whitespace removed.
Worth knowing
- Visitor messages only. Replies from your team and from the answer bot do not fire this.
- One event per message. A busy widget delivers a lot of these, so filter early and keep the handler fast.
- No message id. To read the message in its thread, fetch the conversation from the Conversations API.