Skip to content

[api] add type 'setCachePolicy' in CardAction #154

Description

@lilyydu

Link unfurling defaults to a 30-minute cache on Teams. To disable this, the following needs to be added

suggestedActions: {
        actions: [
                {
                    type: "setCachePolicy",
                    value: "{\"type\":\"no-cache\"}"
                }
        ]
      }

However, the action type setCachePolicy is missing from CardActionType in the card-action.ts file

More info on the scenario - Add Link Unfurling to App Manifest - Teams | Microsoft Learn

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions