Package com.slack.api.model.event
Class ChannelJoinedEvent
java.lang.Object
com.slack.api.model.event.ChannelJoinedEvent
- All Implemented Interfaces:
Event,java.io.Serializable
public class ChannelJoinedEvent extends java.lang.Object implements Event
The channel_joined event is sent to all connections for a user when that user joins a channel.
In addition to this message, all existing members of the channel may receive a channel_join message event.
Of course, there's also the fresher, more dependable member_joined_channel. This changelog entry clears it all up.
https://api.slack.com/events/channel_joined
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelJoinedEvent.Channel -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_NAME -
Constructor Summary
Constructors Constructor Description ChannelJoinedEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)ChannelJoinedEvent.ChannelgetChannel()java.lang.StringgetType()inthashCode()voidsetChannel(ChannelJoinedEvent.Channel channel)java.lang.StringtoString()
-
Field Details
-
TYPE_NAME
public static final java.lang.String TYPE_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChannelJoinedEvent
public ChannelJoinedEvent()
-
-
Method Details
-
getType
public java.lang.String getType() -
getChannel
-
setChannel
-
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
-