com.slack.api.methods.request.conversations.ConversationsRenameRequest Maven / Gradle / Ivy
The newest version!
package com.slack.api.methods.request.conversations;
import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
/**
* https://api.slack.com/methods/conversations.rename
*/
@Data
@Builder
public class ConversationsRenameRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `conversations:write`
*/
private String token;
/**
* ID of conversation to rename
*/
private String channel;
/**
* New name for conversation.
*
* Conversation names can only contain lowercase letters, numbers, hyphens, and underscores, and must
* be 21 characters or less. We will validate the submitted channel name and modify it to meet the above
* criteria. When calling this method, we recommend storing the channel's name value that is returned
* in the response.
*/
private String name;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy