Class ChannelHistoryChangedEvent

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

public class ChannelHistoryChangedEvent extends Object implements Event
A channel_history_changed event is sent to all clients in a channel when bulk changes have occurred to that channel's history. When clients receive this message they should reload chat history for the channel if they have any cached messages before latest.

This message is most often triggered as the result of a channel data import by a workspace administrator.

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

See Also:
  • Field Details

  • Constructor Details

    • ChannelHistoryChangedEvent

      public ChannelHistoryChangedEvent()
  • Method Details

    • getType

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

      public String getLatest()
    • getTs

      public String getTs()
    • getEventTs

      public String getEventTs()
    • setLatest

      public void setLatest(String latest)
    • setTs

      public void setTs(String ts)
    • 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