Name | Type | Description | Notes |
---|---|---|---|
id | String | Message ID. It can be used for further manipulations with the message. | [optional] |
type | String | `"agent"` for agents’ messages, `"visitor"` for visitors’ messages. | [optional] |
text | String | Message text or name of the attached file | [optional] |
visitor_id | String | visitor’s ID | [optional] |
agent_id | String | ID of the agent on whose behalf the message was sent (only in messages sent by an agent). | [optional] |
agent_name | String | Agent’s name as displayed to the visitor. Only in the messages sent by an agent. | [optional] |
created_at | Integer | Timestamp in milliseconds. | [optional] |
is_pushed | BOOLEAN | `true` for pushed messages | [optional] |
received_from | String | In two-way integrations, messages sent via REST API can be marked with receivedFrom property and then filtered out when received in a webhook to avoid infinite loop. | [optional] |
file | ConversationsMessageFile | [optional] |