elementReference object

Describes an app capability (element) in an elementRelationshipSet.

Syntax

{
  "name": "bots | staticTabs | composeExtensions | configurableTabs",
  "id": "{string}",
  "commandIds": [
    "{string}"
  ]
}

Properties

name

The type of app capability.

Type
string

Required

Constraints

Supported values
Allowed values: bots, staticTabs, composeExtensions, configurableTabs.

id

If there are multiple instances of a bot, tab, or message extension, this property defines a specific instance of the capability. It maps to botId for bots, entityId for static tabs, and id for configurable tabs and message extensions.

Type
string

Required

Constraints

Supported values

commandIds

List of one or more message extension commands that are dependent on the specified dependsOn capability. Use only for message extensions.

Type
Array of string

Required

Constraints
Minimum array items: 1.

Supported values

Examples

{
  "element" : {
    "name" : "composeExtensions",
    "id" : "composeExtension-id",
    "commandIds": ["exampleCmd1", "exampleCmd2"]
  }
}