ShowMessage
This effect allows you to show a message to the user in the form of a banner at the bottom of the screen (also known as snackbar or flashbar). The banner can be used to communicate information, errors or successes.
JSON Format
{
"type": "showMessage",
"message": ...,
"message_type": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
message | StatFormulaComponent | ✓ | This stat formula must return a string. It will be displayed as a message for the user. |
message_type | MessageType | Optional parameter to indicate the type of message. If no type is provided the message will be assumed to be informational. |