Class AppHomeOpenedEvent
- java.lang.Object
-
- com.slack.api.model.event.AppHomeOpenedEvent
-
- All Implemented Interfaces:
Event,Serializable
public class AppHomeOpenedEvent extends Object implements Event
This app event notifies your app when a user has entered into the App Home space—that's the place where a user exchanges DMs with your app.Your Slack app must have a bot user configured and installed to use this event.
Use the app_home_opened event to begin a friendly onboarding flow from your app, a whimsical welcome message, or a deep-dive into a detailed dialog. Since the app_home_opened event is only sent to your app when a user has already clicked on your app, you can rest assured that your attentions are welcome.
Note: app_home_opened events are sent each time a user enters into the App Home space. Verify that this is the first interaction between a user and your app before triggering your onboarding flow.
app_home_opened events are just like other message events sent over the Events API, but their type indicates app_home_opened.
https://api.slack.com/events/app_home_opened
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AppHomeOpenedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetEventTs()StringgetTab()StringgetType()StringgetUser()ViewgetView()inthashCode()voidsetChannel(String channel)voidsetEventTs(String eventTs)voidsetTab(String tab)voidsetUser(String user)voidsetView(View view)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
-
getUser
public String getUser()
-
getChannel
public String getChannel()
-
getTab
public String getTab()
-
getEventTs
public String getEventTs()
-
getView
public View getView()
-
setUser
public void setUser(String user)
-
setChannel
public void setChannel(String channel)
-
setTab
public void setTab(String tab)
-
setEventTs
public void setEventTs(String eventTs)
-
setView
public void setView(View view)
-
canEqual
protected boolean canEqual(Object other)
-
-