Package com.slack.api.model.event
Class ImCreatedEvent
java.lang.Object
com.slack.api.model.event.ImCreatedEvent
- All Implemented Interfaces:
Event,Serializable
The im_created event is sent to all connections for a user when a new direct message channel is created that they are a member of.
This message lets the client know that a channel has been created, but the client should show no changes based on this, just update its internal list of IM channels. Usually this event is followed by an im_open event.
https://docs.slack.dev/reference/events/im_created
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetType()getUser()inthashCode()voidsetChannel(ImCreatedEvent.Channel channel) voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.slack.api.model.event.Event
getSubtype
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
ImCreatedEvent
public ImCreatedEvent()
-
-
Method Details