
com.slack.api.model.event.GoodbyeEvent Maven / Gradle / Ivy
package com.slack.api.model.event;
import lombok.Data;
/**
* 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
*/
@Data
public class GoodbyeEvent implements Event {
public static final String TYPE_NAME = "goodbye";
private final String type = TYPE_NAME;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy