Class GroupLeftEvent

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

public class GroupLeftEvent
extends java.lang.Object
implements Event
The group_left event is sent to all connections for a user when that user leaves a private channel. Clients should respond to this message by closing the private channel - this means that when a private channel is left from client A, it will automatically be closed in client B.

The channel value is the string identifier for the private channel.

In addition to this message, all existing members of the group will receive a group_leave message event.

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

See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String TYPE_NAME  
  • Constructor Summary

    Constructors 
    Constructor Description
    GroupLeftEvent()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getActorId()  
    java.lang.String getChannel()  
    java.lang.String getEventTs()  
    java.lang.String getType()  
    int hashCode()  
    void setActorId​(java.lang.String actorId)  
    void setChannel​(java.lang.String channel)  
    void setEventTs​(java.lang.String eventTs)  
    java.lang.String 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

  • Constructor Details

  • Method Details

    • getType

      public java.lang.String getType()
      Specified by:
      getType in interface Event
    • getChannel

      public java.lang.String getChannel()
    • getActorId

      public java.lang.String getActorId()
    • getEventTs

      public java.lang.String getEventTs()
    • setChannel

      public void setChannel​(java.lang.String channel)
    • setActorId

      public void setActorId​(java.lang.String actorId)
    • setEventTs

      public void setEventTs​(java.lang.String eventTs)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object