Class AppHomeOpenedEvent
- All Implemented Interfaces:
Event
,Serializable
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:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getTab()
getType()
getUser()
getView()
int
hashCode()
void
setChannel
(String channel) void
setEventTs
(String eventTs) void
void
void
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 Details
-
TYPE_NAME
- See Also:
-
-
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
-