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://docs.slack.dev/reference/events/pin_added
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetItem()getType()getUser()inthashCode()voidsetChannelId(String channelId) voidsetEventTs(String eventTs) voidsetItem(PinAddedEvent.Item item) voidsetItemUser(String itemUser) voidsetPinCount(Integer pinCount) voidsetPinnedInfo(PinAddedEvent.PinnedInfo pinnedInfo) voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-