Package com.slack.api.model.event
Class ReactionAddedEvent
java.lang.Object
com.slack.api.model.event.ReactionAddedEvent
- All Implemented Interfaces:
Event
,Serializable
When a reaction is added to an item the reaction_added event is sent to all connected clients
for users who can see the content that was reacted to.
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_added events related to these messages will not include an item_user.
The item field is a brief reference to what was reacted to. The above example describes a reaction to a message.
https://api.slack.com/events/reaction_added
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getItem()
getType()
getUser()
int
hashCode()
void
setEventTs
(String eventTs) void
void
setItemUser
(String itemUser) void
setReaction
(String reaction) void
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 Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
ReactionAddedEvent
public ReactionAddedEvent()
-
-
Method Details
-
getType
-
getUser
-
getReaction
-
getItemUser
-
getItem
-
getEventTs
-
setUser
-
setReaction
-
setItemUser
-
setItem
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-