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
-
-
Constructor Summary
Constructors Constructor Description ImOpenEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
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
-
getChannel
public String getChannel()
-
getUser
public String getUser()
-
getEventTs
public String getEventTs()
-
setChannel
public void setChannel(String channel)
-
setUser
public void setUser(String user)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-