An action that uses GET request to an HTTP endpoint.
const card = new MessageCard("Card Test", "Card created: Test", "Lorem ipsum dolor sit amet");const uriTarget: OpenURITargetProps = { os: "default", uri: "https://trello.com"}const openUriActionTargets: OpenURITargetProps[] = [uriTarget];const viewInTrello = new OpenUriAction("View in Trello", openUriActionTargets);const potentialActions: ActionCardActionProps[] & OpenURIActionProps[] = [viewInTrello];card.potentialAction = potentialActions; Copy
const card = new MessageCard("Card Test", "Card created: Test", "Lorem ipsum dolor sit amet");const uriTarget: OpenURITargetProps = { os: "default", uri: "https://trello.com"}const openUriActionTargets: OpenURITargetProps[] = [uriTarget];const viewInTrello = new OpenUriAction("View in Trello", openUriActionTargets);const potentialActions: ActionCardActionProps[] & OpenURIActionProps[] = [viewInTrello];card.potentialAction = potentialActions;
Readonly
Generated using TypeDoc
Description
An action that uses GET request to an HTTP endpoint.
Example