AboutSupportDeveloper GuideVersion 41.133.100.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

not assignable from intent listeners

source: TargetApp
version: string