Package com.slack.api.model.event
Class ImOpenEvent
java.lang.Object
com.slack.api.model.event.ImOpenEvent
- All Implemented Interfaces:
Event,Serializable
public class ImOpenEvent extends Object implements Event
The im_open event is sent to all connections for a user when a direct message channel is opened by that user.
https://api.slack.com/events/im_open
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ImOpenEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetEventTs()StringgetType()StringgetUser()inthashCode()voidsetChannel(String channel)voidsetEventTs(String eventTs)voidsetUser(String user)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ImOpenEvent
public ImOpenEvent()
-
-
Method Details
-
getType
-
getChannel
-
getUser
-
getEventTs
-
setChannel
-
setUser
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-