Class UIAction


  • public class UIAction
    extends Element
    This class specify the Symphony Component UIAction which is represented by the tag name "ui-action". The messageML representation of this element can contain the following fields:
    • trigger -> default 'click', trigger of the action. For now only 'click' is supported
    • action (required) -> action that can be executed on trigger. For now only 'open-im' is supported
    The open-im action can support the following attributes:
    • user-ids (exclusive with stream-id)-> list of the users we want the action to be applied on
    • stream-id (exclusive with user-ids) -> stream we want the action to be applied on
    • side-by-side -> default true, open the result chat in a new module and keeps the parent one open side by side. If false, the parent one will be replaced.
      • For now only Buttons and other UIActions will be allowed as child of a ui-action.