com.slack.api.methods.request.channels.ChannelsRenameRequest Maven / Gradle / Ivy
package com.slack.api.methods.request.channels;
import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
@Deprecated // https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api
@Data
@Builder
public class ChannelsRenameRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `channels:write`
*/
private String token;
/**
* Channel to rename
*/
private String channel;
/**
* New name for channel.
*/
private String name;
/**
* Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
*/
private boolean validate;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy