Package com.slack.api.model.event
Class PinAddedEvent
java.lang.Object
com.slack.api.model.event.PinAddedEvent
- All Implemented Interfaces:
Event,Serializable
public class PinAddedEvent extends Object implements Event
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:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPinAddedEvent.Itemstatic classPinAddedEvent.Messagestatic classPinAddedEvent.PinnedInfo -
Field Summary
-
Constructor Summary
Constructors Constructor Description PinAddedEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannelId()StringgetEventTs()PinAddedEvent.ItemgetItem()StringgetItemUser()IntegergetPinCount()PinAddedEvent.PinnedInfogetPinnedInfo()StringgetType()StringgetUser()inthashCode()voidsetChannelId(String channelId)voidsetEventTs(String eventTs)voidsetItem(PinAddedEvent.Item item)voidsetItemUser(String itemUser)voidsetPinCount(Integer pinCount)voidsetPinnedInfo(PinAddedEvent.PinnedInfo pinnedInfo)voidsetUser(String user)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PinAddedEvent
public PinAddedEvent()
-
-
Method Details