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