Class MemberLeftChannelEvent
- java.lang.Object
-
- com.slack.api.model.event.MemberLeftChannelEvent
-
- All Implemented Interfaces:
Event,Serializable
public class MemberLeftChannelEvent extends Object implements Event
The member_left_channel event is sent to all websocket connections and event subscriptions when users leave public or private channels.The provided user value is a user ID belonging to the user that joined the channel.
The channel value is the ID for a public channel or private channel (AKA group).
The channel_type value is a single letter indicating the type of channel used in channel:
C - typically a public channel G - private channels (or groups) return this channel_type The team identifies which workspace the user is from.
This event is supported as a bot user subscription in the Events API. Workspace event subscriptions are also available for tokens holding at least one of the channels:read or groups:read scopes. Which events your app will receive depends on the scopes and their context. For instance, you'll only receive member_left_channel events for private channels if your app has the groups:read permission.
https://api.slack.com/events/member_left_channel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemberLeftChannelEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetChannelType()StringgetEventTs()StringgetTeam()StringgetType()StringgetUser()inthashCode()voidsetChannel(String channel)voidsetChannelType(String channelType)voidsetEventTs(String eventTs)voidsetTeam(String team)voidsetUser(String user)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
-
getUser
public String getUser()
-
getChannel
public String getChannel()
-
getChannelType
public String getChannelType()
-
getTeam
public String getTeam()
-
getEventTs
public String getEventTs()
-
setUser
public void setUser(String user)
-
setChannel
public void setChannel(String channel)
-
setChannelType
public void setChannelType(String channelType)
-
setTeam
public void setTeam(String team)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-