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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
String
getEventTs()
String
getType()
String
getUser()
int
hashCode()
void
setChannel(String channel)
void
setEventTs(String eventTs)
void
setUser(String user)
String
toString()
-
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
-