BetaBetaThe player to show this message box to.
The title text to display at the top of the message box.
BetaThe body text to display. Accepts either a plain string or an ObservableString.
BetaThe text label to display on the first button.
Optionaltooltip: string | ObservableString | ObservableUIRawMessage | UIRawMessageOptional tooltip text shown when hovering over the first button.
BetaThe text label to display on the second button.
Optionaltooltip: string | ObservableString | ObservableUIRawMessage | UIRawMessageOptional tooltip text shown when hovering over the second button.
BetaShows the message box to the player. Returns a promise that resolves with a MessageBoxResult containing the close reason and the player's button selection.
This function can't be called in restricted-execution mode.
A simple message form with two buttons and a text body. Use this class to show a basic dialog to a player and handle the player's button selection.