Class RocketChatActionConfig

    • Constructor Detail

      • RocketChatActionConfig

        public RocketChatActionConfig()
        No args constructor for use in serialization
      • RocketChatActionConfig

        public RocketChatActionConfig​(String msg,
                                      String text,
                                      String url)
    • Method Detail

      • getMsg

        public String getMsg()
        msg defines the message to send when the button is clicked. This allows the button to post a predefined message to the channel.
      • setMsg

        public void setMsg​(String msg)
        msg defines the message to send when the button is clicked. This allows the button to post a predefined message to the channel.
      • getText

        public String getText()
        text defines the button text displayed to users. This is the label that appears on the interactive button.
      • setText

        public void setText​(String text)
        text defines the button text displayed to users. This is the label that appears on the interactive button.
      • getUrl

        public String getUrl()
        url defines the URL the button links to when clicked. This creates a clickable button that opens the specified URL.
      • setUrl

        public void setUrl​(String url)
        url defines the URL the button links to when clicked. This creates a clickable button that opens the specified URL.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)