Class MemberLeftChannelEvent
- All Implemented Interfaces:
Event,java.io.Serializable
public class MemberLeftChannelEvent extends java.lang.Object implements Event
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
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_NAME -
Constructor Summary
Constructors Constructor Description MemberLeftChannelEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()java.lang.StringgetChannelType()java.lang.StringgetEventTs()java.lang.StringgetTeam()java.lang.StringgetType()java.lang.StringgetUser()inthashCode()voidsetChannel(java.lang.String channel)voidsetChannelType(java.lang.String channelType)voidsetEventTs(java.lang.String eventTs)voidsetTeam(java.lang.String team)voidsetUser(java.lang.String user)java.lang.StringtoString()
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
MemberLeftChannelEvent
public MemberLeftChannelEvent()
-
-
Method Details
-
getType
public java.lang.String getType() -
getUser
public java.lang.String getUser() -
getChannel
public java.lang.String getChannel() -
getChannelType
public java.lang.String getChannelType() -
getTeam
public java.lang.String getTeam() -
getEventTs
public java.lang.String getEventTs() -
setUser
public void setUser(java.lang.String user) -
setChannel
public void setChannel(java.lang.String channel) -
setChannelType
public void setChannelType(java.lang.String channelType) -
setTeam
public void setTeam(java.lang.String team) -
setEventTs
public void setEventTs(java.lang.String eventTs) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-