1.4 KiB
1.4 KiB
ConversationsMessage
Properties
| 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] |
| visitorId | string | visitor’s ID | [optional] |
| agentId | string | ID of the agent on whose behalf the message was sent (only in messages sent by an agent). | [optional] |
| agentName | string | Agent’s name as displayed to the visitor. Only in the messages sent by an agent. | [optional] |
| createdAt | int | Timestamp in milliseconds. | [optional] |
| isPushed | bool | `true` for pushed messages | [optional] |
| receivedFrom | 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 | \Brevo\Client\Model\ConversationsMessageFile | [optional] |