Package com.slack.api.model.event
Class ReactionRemovedEvent
- java.lang.Object
-
- com.slack.api.model.event.ReactionRemovedEvent
-
- All Implemented Interfaces:
Event
,Serializable
public class ReactionRemovedEvent extends Object implements Event
When a reaction is removed from an item the reaction_removed event is sent to all connected clients for users who can see the content that had the reaction.The user field indicates the ID of the user who performed this event. The item_user field represents the ID of the user that created the original item that has been reacted to.
Some messages aren't authored by "users," like those created by incoming webhooks. reaction_removed events related to these messages will not include an item_user.
The item field is a brief reference to what the reaction was attached to. The above example describes a reaction being removed from a message.
https://api.slack.com/events/reaction_removed
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReactionRemovedEvent.Item
-
Constructor Summary
Constructors Constructor Description ReactionRemovedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getEventTs()
ReactionRemovedEvent.Item
getItem()
String
getItemUser()
String
getReaction()
String
getType()
String
getUser()
int
hashCode()
void
setEventTs(String eventTs)
void
setItem(ReactionRemovedEvent.Item item)
void
setItemUser(String itemUser)
void
setReaction(String reaction)
void
setUser(String user)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.model.event.Event
getSubtype
-
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUser
public String getUser()
-
getReaction
public String getReaction()
-
getItemUser
public String getItemUser()
-
getItem
public ReactionRemovedEvent.Item getItem()
-
getEventTs
public String getEventTs()
-
setUser
public void setUser(String user)
-
setReaction
public void setReaction(String reaction)
-
setItemUser
public void setItemUser(String itemUser)
-
setItem
public void setItem(ReactionRemovedEvent.Item item)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-