Compartilhar via


root.composeExtensions.messageHandlers.value object

Properties that reference this object type:

Syntax

{
  "domains": [
    "{string}"
  ],
  "supportsAnonymousAccess": {boolean},
  "supportsAnonymizedPayloads": {boolean}
}
{
  "domains": [
    "{string}"
  ],
  "supportsAnonymizedPayloads": {boolean}
}

Properties

domains

Array of domains that the link message handler can register for, and when they are matched the app will be invoked.

Type
Array of string

Required

Constraints
Maximum string length: 2048.

Supported values

supportsAnonymousAccess

[Deprecated]. This property has been superceded by supportsAnonymizedPayloads.

Type
boolean

Required

Constraints

Supported values
Default value: False.

supportsAnonymizedPayloads

A boolean value that indicates whether the app's link message handler supports anonymous invoke flow. To enable zero install for link unfurling, the value needs to be set to true.

Type
boolean

Required

Constraints

Supported values
Default value: False.

Examples

{
"composeExtensions": [
        {
            "messageHandlers": [
                {
                    "value": {
                        "domains": [
                            "mysite.someplace.com",
                            "othersite.someplace.com"
                        ],
                        "supportsAnonymizedPayloads": false
                    }
                }
            ]
        }
    ]
}