ActionsshowMessageVersion: 4.62On this pageshowMessage Displays a short message in a small pop-up (e.g., toast, snackbar) as feedback or a notification for the user. noteThis action should only be used for short messages that are easy to read and understand at a glance, typically success messages. For more important and persistent information use the askuser action or custom visualizations. Field Configurations KeyTypeDescriptionDefault Value"params" (required)Objectundefinednull Parameters KeyTypeDescriptionDefault Value"action"ObjectAction to perform on tap.null"asNotification"Boolean,StringDetermines if this message should be shown as a push notification.false"asToast"Boolean,StringDetermines if the message should be displayed as a toast (non-interactive) instead of a snackbar (allows interaction) (Android only).false"async"BooleanSpecifies whether the action should perform asynchronously.null"channel"StringNotification channel for the notification (for asNotification messages only).null"displayDuration"NumberDisplay duration of the message in seconds. On Android it is only checked if the duration is smaller or at least 3.3"icon"StringPredefines icon, which is optionally displayed prior to the text (Android only).null"image"StringImage to display in the notification (for asNotification messages only).null"notificationSound"StringNamed notification sound (for asNotification messages only).null"requiredTables"Arrayundefinednull"text"StringThe text of the message.null"title"StringThe title of the message.null Inherited From Base ActionBase ActionField ConfigurationsKeyTypeDescriptionDefault Value"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null"leadingDelimiter"StringThe leading mustache delimiter to use.null"params"Object,ArrayObject containing the properties of the action.null"trailingDelimiter"StringThe trailing mustache delimiter to use.null"type"StringType name of the action.null Examples Example 1: Display a message Show ExampleHide ExampleThe title and text keys specify the content of the displayed message.{ "type": "showMessage", "params": { "title": "$lang(showMessageTitle01)$", "text": "$lang(showMessageText01)$" }}