Package com.slack.api.model.event
Class ChannelArchiveEvent
java.lang.Object
com.slack.api.model.event.ChannelArchiveEvent
- All Implemented Interfaces:
Event,Serializable
public class ChannelArchiveEvent extends Object implements Event
The channel_archive event is sent to all connections for a workspace when a channel is archived.
Clients can use this to update their local list of channels.
https://api.slack.com/events/channel_archive
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChannelArchiveEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetEventTs()IntegergetIsMoved()StringgetType()StringgetUser()inthashCode()voidsetChannel(String channel)voidsetEventTs(String eventTs)voidsetIsMoved(Integer isMoved)voidsetUser(String user)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChannelArchiveEvent
public ChannelArchiveEvent()
-
-
Method Details
-
getType
-
getChannel
-
getUser
-
getIsMoved
-
getEventTs
-
setChannel
-
setUser
-
setIsMoved
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-