Package jenkins.plugins.slack
Interface SlackService
- All Known Implementing Classes:
StandardSlackService
public interface SlackService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addReaction
(String channelId, String timestamp, String emojiName) boolean
boolean
boolean
boolean
boolean
boolean
publish
(SlackRequest slackRequest) boolean
removeReaction
(String channelId, String timestamp, String emojiName) Remove an emoji reaction to a message.boolean
upload
(FilePath workspace, String artifactIncludes, TaskListener log)
-
Method Details
-
publish
-
publish
-
publish
-
publish
-
publish
-
publish
-
upload
-
addReaction
-
removeReaction
Remove an emoji reaction to a message.- Parameters:
channelId
- - Slack's internal channel id (i.e. what's returned in a `chat.postMessage` response)timestamp
- - Timestamp identifying the messageemojiName
- - The name of the emoji to add in reaction to the message (no colons)- Returns:
- boolean indicating whether the API request succeeded
-
getResponseString
String getResponseString()
-