DialogSpec

  • Prompts define metadata for helper sub-dialogs using JSON representation.

  • The extension field is an object containing helper-specific dialog specs, such as confirmation dialog details.

  • extension objects include an @type field with a URI to identify the type of object, like "types.example.com/standard/id".

Prompts related metadata for helper sub-dialogs.

JSON representation
{
  "extension": {
    "@type": string,
    field1: ...,
    ...
  }
}
Fields
extension

object

Holds helper specific dialog specs if any. For example: ConfirmationDialogSpec for confirmation helper.

An object containing fields of an arbitrary type. An additional field "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" }.