Class AppHomeOpenedEvent
- All Implemented Interfaces:
Event,Serializable
public class AppHomeOpenedEvent extends Object implements Event
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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AppHomeOpenedEvent() -
Method Summary
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()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AppHomeOpenedEvent
public AppHomeOpenedEvent()
-
-
Method Details
-
getType
-
getUser
-
getChannel
-
getTab
-
getEventTs
-
getView
-
setUser
-
setChannel
-
setTab
-
setEventTs
-
setView
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-