AboutSupportDeveloper GuideVersion 41.132.100.57

Interface ContextForIntent<MetadataType>

interface ContextForIntent<MetadataType> {
    id?: {
        [key: string]: string;
    };
    metadata?: MetadataType;
    name?: string;
    type: string;
}

Type Parameters

  • MetadataType = any

Properties

Properties

id?: {
    [key: string]: string;
}

An object containing string key-value pairs for the bulk of the data for the context. Differs between context types.

metadata?: MetadataType
name?: string

User-readable name for the incoming context.

type: string

Conserved type for the context (e.g. instrument or country).