Function createAlertWidget

  • Parameters

    Returns Promise<IAlertWidget>

    Description

    Create Alert widget

    Async

    Since

    0.1.0

    Example

    createAlertWidget({
    programId: "<program id>",
    title: "<alert title>",
    text: "<alert text>",
    imageUrl: "<your image url>",
    linkUrl: "<link url to include on alert widget>",
    linkLabel: "<link label to show on alert widget>",
    }).then(alertWidget => console.log(alertWidget))

Generated using TypeDoc