Package com.slack.api.model.event
Class ChannelLeftEvent
java.lang.Object
com.slack.api.model.event.ChannelLeftEvent
- All Implemented Interfaces:
Event,Serializable
public class ChannelLeftEvent extends Object implements Event
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:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChannelLeftEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetActorId()StringgetChannel()StringgetEventTs()StringgetType()inthashCode()voidsetActorId(String actorId)voidsetChannel(String channel)voidsetEventTs(String eventTs)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChannelLeftEvent
public ChannelLeftEvent()
-
-
Method Details
-
getType
-
getChannel
-
getActorId
-
getEventTs
-
setChannel
-
setActorId
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-