The return value of the `abp.message.prompt(...)` function is a promise that resolves to the entered value (`string`) or `null` if the dialog is canceled/dismissed.
### Parameters
`abp.message.prompt(...)` function has the following parameters:
* `message`: A message (`string`) to show to the user.
* `titleOrOptionsOrCallback` (optional):
* a `string` title, or
* an `object` containing SweetAlert options (e.g., `input`, `inputAttributes`, `inputPlaceholder`), or
* a `function` callback that receives the resulting value (or `null`).
* `callback` (optional): If you've passed a title as the second parameter, you can pass your callback function as the 3rd parameter.
Passing a callback function is an alternative to using the returned promise.
## SweetAlert Configuration
The Message API is implemented using the [SweetAlert](https://sweetalert.js.org/) library by default. If you want to change its configuration, you can set the options in the `abp.libs.sweetAlert.config` object. The default configuration object is shown below: