[Go to site: main page, start]

Type Alias DialogV2SubmitCallback

DialogV2SubmitCallback: (result: any, dialog: DialogV2) => Promise<void>

Type Declaration

    • (result: any, dialog: DialogV2): Promise<void>
    • Parameters

      • result: any

        Either the identifier of the button that was clicked to submit the dialog, or the result returned by that button's callback.

      • dialog: DialogV2

        The DialogV2 instance.

      Returns Promise<void>