AboutSupportDeveloper GuideVersion 38.126.83.79

IntentResolution provides a standard format for data returned upon resolving an intent.

//resolve a "Chain" type intent
var intentR = await agent.raiseIntent("intentName", context);
//resolve a "Client-Service" type intent with data response
var intentR = await agent.raiseIntent("intentName", context);
var dataR = intentR.data;
interface IntentResolution {
    data?: object;
    source: TargetApp;
    version: string;
}

Properties

Properties

data?: object

Deprecated

not assignable from intent listeners

source: TargetApp
version: string