AboutSupportDeveloper GuideVersion 38.126.83.75

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.

Type declaration

  • [key: string]: string
metadata?: MetadataType
name?: string

User-readable name for the incoming context.

type: string

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