# IntentHandler

**Kind**: interface | **Module**: [Intents](https://docs.interop.io/desktop/reference/javascript/intents/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/intents/intenthandler/index.html

Describes an Intent handler implementation.

## Properties

- **`applicationDescription`** (`string`, optional)
  User-friendly description of the app, as specified in the app configuration.
- **`applicationIcon`** (`string`, optional)
  Icon of the app that has registered the Intent handler, as specified in the app configuration.
- **`applicationName`** (`string`, required)
  Name of the app that has registered the Intent, as specified in the app configuration.
- **`applicationTitle`** (`string`, optional)
  Title of the app that has registered the Intent, as specified in the app configuration.
- **`contextTypes`** (`string[]`, optional)
  The types of predefined data structures with which the Intent handler works.
- **`customConfig`** (`{ [key: string]: any }`, optional) *(since io.Connect Desktop 10.0.4, @interopio/desktop 6.17.0)*
  Object containing custom configuration for the Intent handler provided via the app definition or dynamically.
- **`displayName`** (`string`, optional)
  Display name of the Intent, as specified in the Intent definition.
- **`instanceId`** (`string`, optional)
  ID of the running app instance.
- **`instanceTitle`** (`string`, optional)
  Title of the app window.
- **`resultType`** (`string`, optional)
  The type of predefined data structure which the Intent handler returns.
- **`type`** (`"app" | "instance"`, required)
  The type of the Intent handler - an app declared as an Intent handler via its configuration,
  or a running instance of an app. Dynamically registered Intent handlers are considered running instances.
