Class GoodbyeEvent

  • All Implemented Interfaces:
    Event, Serializable

    public class GoodbyeEvent
    extends Object
    implements Event
    The server intends to close the connection soon.

    The goodbye event may be sent by a server that expects it will close the connection after an unspecified amount of time. A well-formed client should reconnect to avoid data loss.

    Other scenarios where you might encounter the goodbye event are:

    • reaching the maximum duration of a RTM web socket connection (8 hours)
    • your workspace has been inactive for over two minutes
    https://api.slack.com/events/goodbye
    See Also:
    Serialized Form