public class SlackResponse extends Object implements Serializable
Constructor and Description |
---|
SlackResponse(org.json.JSONObject slackResponseObject,
SlackService slackService) |
SlackResponse(SlackService slackService) |
Modifier and Type | Method and Description |
---|---|
boolean |
addReaction(String emojiName)
Add an emoji reaction to the message that this `SlackResponse` points to.
|
String |
getChannelId() |
String |
getThreadId() |
String |
getTs() |
public SlackResponse(SlackService slackService)
public SlackResponse(org.json.JSONObject slackResponseObject, SlackService slackService)
public String getChannelId()
public String getTs()
public String getThreadId()
public boolean addReaction(String emojiName)
emojiName
- - name of the emoji (no colons), e.g. `thumbsup`Copyright © 2016–2022. All rights reserved.