com.slack.api.model.event.ChannelLeftEvent Maven / Gradle / Ivy
package com.slack.api.model.event;
import lombok.Data;
/**
* The channel_left event is sometimes sent to all connections for a user when that user leaves a channel.
* It is sometimes withheld.
*
* Clients should respond to this message by closing the channel
* — this means that when a channel is left from client A, it will automatically be closed in client B.
*
* In addition to this message, all existing members of the channel will receive a channel_leave message event.
*
* https://api.slack.com/events/channel_left
*/
@Data
public class ChannelLeftEvent implements Event {
public static final String TYPE_NAME = "channel_left";
private final String type = TYPE_NAME;
private String channel;
private String actorId;
private String eventTs;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy