Package com.slack.api.model.event
Class ChannelRenameEvent
java.lang.Object
com.slack.api.model.event.ChannelRenameEvent
- All Implemented Interfaces:
Event,Serializable
public class ChannelRenameEvent extends Object implements Event
The channel_rename event is sent to all connections for a workspace when a channel is renamed.
Clients can use this to update their local list of channels.
https://api.slack.com/events/channel_rename
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelRenameEvent.Channel -
Field Summary
-
Constructor Summary
Constructors Constructor Description ChannelRenameEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ChannelRenameEvent.ChannelgetChannel()StringgetEventTs()StringgetType()inthashCode()voidsetChannel(ChannelRenameEvent.Channel channel)voidsetEventTs(String eventTs)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChannelRenameEvent
public ChannelRenameEvent()
-
-
Method Details
-
getType
-
getChannel
-
getEventTs
-
setChannel
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-