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 booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetEventTs()StringgetType()StringgetUser()inthashCode()voidsetChannel(String channel)voidsetEventTs(String eventTs)voidsetUser(String user)StringtoString()-
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)
-
-