Description

An action that uses GET request to an HTTP endpoint.

Example

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;

Hierarchy

  • OpenUriAction

Implements

  • IOpenURIAction

Constructors

Properties

Methods

Constructors

Properties

name: string

Methods

Generated using TypeDoc