Package com.slack.api.model.event
Class ChannelLeftEvent
java.lang.Object
com.slack.api.model.event.ChannelLeftEvent
- All Implemented Interfaces:
Event
,Serializable
The channel_left event is sometimes sent to all connections for a user when that user leaves a channel.
It is sometimes withheld.
Clients should respond to this message by closing the channel — this means that when a channel is left from client A, it will automatically be closed in client B.
In addition to this message, all existing members of the channel will receive a channel_leave message event.
https://api.slack.com/events/channel_left
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getType()
int
hashCode()
void
setActorId
(String actorId) void
setChannel
(String 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
-
ChannelLeftEvent
public ChannelLeftEvent()
-
-
Method Details