> For the complete documentation index, see [llms.txt](https://dfend.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dfend.gitbook.io/documentation/developer-api/types/event/recommendation.md).

# Recommendation

A **Recommendation** object contains data that articulates how to respond to an [**Event**](/documentation/developer-api/types/event.md).

## Attributes

* `type`  <mark style="color:blue;">enum</mark>  This recommendation's [Type](/documentation/developer-api/types/event/recommendation/type.md).
* `description`  <mark style="color:blue;">string</mark>  Instructions related to this recommendation in English language.
* `template`  <mark style="color:blue;">string</mark>  A pre-written message that you should pass onto the user.
  * Only present with type NOTIFY\_USER or NOTIFY\_USER\_WITH\_LINK.
* `ban`  <mark style="color:blue;">Ban</mark>  A [Ban](/documentation/developer-api/types/event/recommendation/ban.md) object.
  * Only present with type BAN\_ACTION, BAN\_DEVICE, or BAN\_IP.
