Class ImHistoryChangedEvent

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

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

These bulk changes may be the result of data importation or bulk action taken by an administrator.

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

See Also:
Serialized Form
  • Field Summary

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

    Constructors 
    Constructor Description
    ImHistoryChangedEvent()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getEventTs()  
    java.lang.String getLatest()  
    java.lang.String getTs()  
    java.lang.String getType()  
    int hashCode()  
    void setEventTs​(java.lang.String eventTs)  
    void setLatest​(java.lang.String latest)  
    void setTs​(java.lang.String ts)  
    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
    • getLatest

      public java.lang.String getLatest()
    • getTs

      public java.lang.String getTs()
    • getEventTs

      public java.lang.String getEventTs()
    • setLatest

      public void setLatest​(java.lang.String latest)
    • setTs

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