Message filters

Message filters are currently only avaible on the JavaScript SDK (classic), React SDK (classic), React Native SDK and Flutter SDK.

Message filters let you control which messages are displayed to users in your chat interface, based on properties such as sender, message type, or when the message was created.

Message filters are useful, for example when you want to:

  • Limit chat history to recent messages
  • Show only system updates or user messages
  • Segment messages by topic, sender type, or campaign
  • Exclude imported or automated messages from user view

To filter messages, you can use a range of different filter types. For example, you can filter by:

  • Time created: Show or hide messages created before, after, or within a specific time range.
  • Sender: Show or hide messages sent by users with specific properties, for example all messages from users with the role admin.
  • Message type: Show or hide only user messages or only system messages.
  • Custom message property: Show or hide messages that match a custom field, for example only only messages with the category shoes or the topic reservation.

You can combine multiple filters to match complex conditions, or clear filters entirely to show all messages.