Interface IURLButton

Basic button interface

interface IURLButton {
    action: {
        label: string;
        link: string;
        payload: ButtonPayload;
        type: "open_link";
    };
}

Hierarchy (view full)

Properties

Properties

action: {
    label: string;
    link: string;
    payload: ButtonPayload;
    type: "open_link";
}

Type declaration

  • label: string

    Button label, no more than 40 characters

  • link: string

    The link that will be opened when clicked

  • payload: ButtonPayload

    Payload, preferably use object

  • type: "open_link"

Generated using TypeDoc