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://docs.slack.dev/reference/events/channel_left
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetType()inthashCode()voidsetActorId(String actorId) voidsetChannel(String channel) voidsetEventTs(String eventTs) toString()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
-
ChannelLeftEvent
public ChannelLeftEvent()
-
-
Method Details