Class GroupCloseEvent

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

public class GroupCloseEvent extends Object implements Event
The group_close event is sent to all connections for a user when a private channel is closed by that user.

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

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

See Also:
  • Field Details

  • Constructor Details

    • GroupCloseEvent

      public GroupCloseEvent()
  • Method Details

    • getType

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

      public String getUser()
    • getChannel

      public String getChannel()
    • setUser

      public void setUser(String user)
    • setChannel

      public void setChannel(String channel)
    • 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