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 class
ChannelCreatedEvent.Channel
-
Constructor Summary
Constructors Constructor Description ChannelCreatedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
ChannelCreatedEvent.Channel
getChannel()
String
getEventTs()
String
getType()
int
hashCode()
void
setChannel(ChannelCreatedEvent.Channel channel)
void
setEventTs(String eventTs)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.model.event.Event
getSubtype
-
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChannel
public ChannelCreatedEvent.Channel getChannel()
-
getEventTs
public String getEventTs()
-
setChannel
public void setChannel(ChannelCreatedEvent.Channel channel)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-