AboutSupportDeveloper GuideVersion 37.124.81.26
IntentHandler: ((context, metadata?) => Promise<IntentResult> | void)

Type declaration

    • (context, metadata?): Promise<IntentResult> | void
    • Describes a callback that handles a context event and may return a promise of a Context, Channel object or void to be returned to the application that raised the intent. Used when attaching listeners for raised intents.

      Optional metadata about the raised intent, including the app that originated the message, SHOULD be provided by the desktop agent implementation.

      Parameters

      Returns Promise<IntentResult> | void