Class PongEvent

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

public class PongEvent extends Object implements Event
The pong event is sent in response to a 'ping' message previously sent. The id and other fields will match that of the ping message.

https://api.slack.com/rtm#ping_and_pong

See Also:
  • Field Details

  • Constructor Details

    • PongEvent

      public PongEvent()
  • Method Details

    • getType

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

      public Long getReplyTo()
    • getTime

      public Instant getTime()
    • setReplyTo

      public void setReplyTo(Long replyTo)
    • setTime

      public void setTime(Instant time)
    • 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