> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Messages

> Messages

This element will display the messages for a ticket.

## Configuration

| Setting         | Description                                      |
| :-------------- | :----------------------------------------------- |
| ticketId        | The ticket to list messages from                 |
| limit           | The max number of messages to show (v. 4.0)      |
| showChange      | Whether to display changed lines (Bool) (v. 4.0) |
| blockQuickReply |                                                  |
| where           | additional criteria (v. 3.1.5)                   |

<Note>
  The element must have a ticket ID to show messages for. If you don't set a ticket ID, the entryId CGI variable is used. If that variable is empty, **no messages will be shown**.
</Note>

### Deprecated from v. 4.2

* descending
* previewImages
* showForward

## Example

```crmscript theme={null}
fields.0.field = message.id
fields.length = 1
where.0.critPriority = 0
where.0.field = message.id
where.0.operator = OperatorLte
where.0.rowOperator = OperatorAnd
where.0.value = 60
where.length = 1
```


## Related topics

- [Message](/en/automation/crmscript/reference/CRMScript.Native.Message.md)
- [Messages](/en/developer-portal/create-app/message-center.md)
- [System Messages](/en/developer-portal/best-practices/system-messages.md)
- [Edit message](/en/request/learn/edit-message.md)
- [Chatbot messages](/en/automation/chatbot/messages.md)
- [Split message](/en/request/learn/split-message.md)
