Package com.slack.api.model.event
Class ChannelCreatedEvent
java.lang.Object
com.slack.api.model.event.ChannelCreatedEvent
- All Implemented Interfaces:
Event
,Serializable
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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getType()
int
hashCode()
void
setChannel
(ChannelCreatedEvent.Channel channel) void
setEventTs
(String eventTs) 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 Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
ChannelCreatedEvent
public ChannelCreatedEvent()
-
-
Method Details