Class SlackResponse

    • Constructor Detail

      • SlackResponse

        public SlackResponse​(SlackService slackService)
      • SlackResponse

        public SlackResponse​(org.json.JSONObject slackResponseObject,
                             SlackService slackService)
    • Method Detail

      • getChannelId

        public String getChannelId()
      • getTs

        public String getTs()
      • getThreadId

        public String getThreadId()
      • addReaction

        public boolean addReaction​(String emojiName)
        Add an emoji reaction to the message that this `SlackResponse` points to.
        Parameters:
        emojiName - - name of the emoji (no colons), e.g. `thumbsup`
        Returns:
        boolean indicating whether the API request succeeded