# Recommendation

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

## Attributes

* `type`  <mark style="color:blue;">enum</mark>  This recommendation's [Type](https://dfend.gitbook.io/documentation/developer-api/types/event/recommendation/type).
* `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](https://dfend.gitbook.io/documentation/developer-api/types/event/recommendation/ban) object.
  * Only present with type BAN\_ACTION, BAN\_DEVICE, or BAN\_IP.
