Compartilhar via


elementRequirementSet object

An object representing a set of requirements that the host must support for the element.

Syntax

{
  "hostMustSupportFunctionalities": [
    {
      "name": "dialogUrl | dialogUrlBot | dialogAdaptiveCard | dialogAdaptiveCardBot"
    }
  ]
}

Properties

hostMustSupportFunctionalities

Specifies one or more runtime capabilities the element requires to function properly. For more information, see how to specify runtime requirements in your app manifest.

Type
Array of hostFunctionality

Required

Constraints
Minimum array items: 1.

Supported values

Examples

{
    "staticTabs": [
        {
            "requirementSet": {
                "hostMustSupportFunctionalities": [
                  {"name": "dialogUrl"},
                  {"name": "dialogUrlBot"}
                ]
            }
        }
    ],
}
{
    "bots": [
        {
            "requirementSet": {
                "hostMustSupportFunctionalities": [
                  {"name": "dialogUrl"},
                  {"name": "dialogUrlBot"}
                ]
            }
        }
    ],
}
{
    "composeExtensions": [
        {
            "requirementSet": {
                "hostMustSupportFunctionalities": [
                  {"name": "dialogUrl"},
                  {"name": "dialogUrlBot"}
                ]
            }
        }
    ],
}