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>