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
-
-
Constructor Summary
Constructors Constructor Description ChannelLeftEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()-
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 Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChannel
public String getChannel()
-
getActorId
public String getActorId()
-
getEventTs
public String getEventTs()
-
setChannel
public void setChannel(String channel)
-
setActorId
public void setActorId(String actorId)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-