Class SubteamSelfAddedEvent

java.lang.Object
com.slack.api.model.event.SubteamSelfAddedEvent
All Implemented Interfaces:
Event, Serializable

public class SubteamSelfAddedEvent extends Object implements Event
The subteam_self_added event is sent to you when you have been added to an existing User Group. Clients can use this to update their local list of User Groups.

This event is not available to bot user subscriptions in the Events API.

https://api.slack.com/events/subteam_self_added

See Also:
  • Field Details

  • Constructor Details

    • SubteamSelfAddedEvent

      public SubteamSelfAddedEvent()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Event
    • getSubteamId

      public String getSubteamId()
    • getEventTs

      public String getEventTs()
    • setSubteamId

      public void setSubteamId(String subteamId)
    • setEventTs

      public void setEventTs(String eventTs)
    • 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