Package com.slack.api.model.event
Class ReactionRemovedEvent
java.lang.Object
com.slack.api.model.event.ReactionRemovedEvent
- All Implemented Interfaces:
Event,java.io.Serializable
public class ReactionRemovedEvent extends java.lang.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 classReactionRemovedEvent.Item -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_NAME -
Constructor Summary
Constructors Constructor Description ReactionRemovedEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetEventTs()ReactionRemovedEvent.ItemgetItem()java.lang.StringgetItemUser()java.lang.StringgetReaction()java.lang.StringgetType()java.lang.StringgetUser()inthashCode()voidsetEventTs(java.lang.String eventTs)voidsetItem(ReactionRemovedEvent.Item item)voidsetItemUser(java.lang.String itemUser)voidsetReaction(java.lang.String reaction)voidsetUser(java.lang.String user)java.lang.StringtoString()
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
ReactionRemovedEvent
public ReactionRemovedEvent()
-
-
Method Details
-
getType
public java.lang.String getType() -
getUser
public java.lang.String getUser() -
getReaction
public java.lang.String getReaction() -
getItemUser
public java.lang.String getItemUser() -
getItem
-
getEventTs
public java.lang.String getEventTs() -
setUser
public void setUser(java.lang.String user) -
setReaction
public void setReaction(java.lang.String reaction) -
setItemUser
public void setItemUser(java.lang.String itemUser) -
setItem
-
setEventTs
public void setEventTs(java.lang.String eventTs) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-