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:
  • Field Details

  • Constructor Details

    • AppHomeOpenedEvent

      public AppHomeOpenedEvent()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Event
    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object