ResponseData
Stentor API Reference / stentor-models/src / ResponseData
Interface: ResponseData
Defined in: packages/stentor-models/src/Response/Response.ts:49
Additional response metadata.
Indexableβ
[key: string]: string | number | boolean | object
Propertiesβ
content?β
optionalcontent:string
Defined in: packages/stentor-models/src/Response/Response.ts:55
Provides context to the user for select system responses.
Used for SURFACE_CHANGE, ACCOUNT_LINK, or generically to pass information to the client surface.
title?β
optionaltitle:string
Defined in: packages/stentor-models/src/Response/Response.ts:61
Provides a title for select system responses.
Used for SURFACE_CHANGE
canFulfill?β
optionalcanFulfill:CanFulfillIntentResult
Defined in: packages/stentor-models/src/Response/Response.ts:67
If a request (see IntentRequest.canFulfill) has canFulfill as true, this provides information about it's ability to fulfill the request.
expectedPreviousToken?β
optionalexpectedPreviousToken:string
Defined in: packages/stentor-models/src/Response/Response.ts:74
During media playback, expected previous token is used as a reference point. It is used by certain channels to prevent race condition requests that can occur when navigating content quickly.