Package jenkins.plugins.slack.workflow
Class SlackResponse
java.lang.Object
jenkins.plugins.slack.workflow.SlackResponse
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSlackResponse(SlackService slackService) SlackResponse(org.json.JSONObject slackResponseObject, SlackService slackService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddReaction(String emojiName) Add an emoji reaction to the message that this `SlackResponse` points to.getTs()booleanremoveReaction(String emojiName) Remove an emoji reaction to the message that this `SlackResponse` points to.
-
Constructor Details
-
SlackResponse
-
SlackResponse
-
-
Method Details
-
getChannelId
-
getTs
-
getThreadId
-
addReaction
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
-
removeReaction
Remove 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
-