Package com.slack.api.model.event
Class PinAddedEvent
java.lang.Object
com.slack.api.model.event.PinAddedEvent
- All Implemented Interfaces:
Event
,Serializable
When an item is pinned in a channel, the pin_added event is sent to all members of that channel.
https://api.slack.com/events/pin_added
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getItem()
getType()
getUser()
int
hashCode()
void
setChannelId
(String channelId) void
setEventTs
(String eventTs) void
setItem
(PinAddedEvent.Item item) void
setItemUser
(String itemUser) void
setPinCount
(Integer pinCount) void
setPinnedInfo
(PinAddedEvent.PinnedInfo pinnedInfo) 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
-
PinAddedEvent
public PinAddedEvent()
-
-
Method Details
-
getType
-
getUser
-
getChannelId
-
getItem
-
getItemUser
-
getPinCount
-
getPinnedInfo
-
getEventTs
-
setUser
-
setChannelId
-
setItem
-
setItemUser
-
setPinCount
-
setPinnedInfo
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-