Class ChannelLeftEvent

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

public class ChannelLeftEvent extends Object implements Event
The channel_left event is sometimes sent to all connections for a user when that user leaves a channel. It is sometimes withheld.

Clients should respond to this message by closing the channel — this means that when a channel is left from client A, it will automatically be closed in client B.

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

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

See Also:
  • Field Details

  • Constructor Details

    • ChannelLeftEvent

      public ChannelLeftEvent()
  • Method Details

    • getType

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

      public String getChannel()
    • getActorId

      public String getActorId()
    • getEventTs

      public String getEventTs()
    • setChannel

      public void setChannel(String channel)
    • setActorId

      public void setActorId(String actorId)
    • 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