DialogAction

DialogActions are divided in two types, Static & Dynamic. Static-actions do not depend on the value of an input field. Dynamic-actions can be used in conjunction with the value of input fields.

Static Actions

Types of static-actions are OPEN_URL, RUN_COMMAND, SUGGEST_COMMAND, CHANGE_PAGE, CLIPBOARD, SHOW_DIALOG and CUSTOM

action:
  type: RUN_COMMAND
  command: "nexo inventory"

Dynamic Actions

Dynamic actions are actions that can be used with values of input fields in the dialog. For example run a command with text from the DialogInput Text field The types of dynamic actions are DYNAMIC_RUN_COMMAND & DYNAMIC_CUSTOM

Last updated