com.slack.api.methods.request.conversations.ConversationsCreateRequest Maven / Gradle / Ivy
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.create
*/
@Data
@Builder
public class ConversationsCreateRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `conversations:write`
*/
private String token;
/**
* Name of the public or private channel to create
*/
private String name;
/**
* Create a private channel instead of a public one
*/
private boolean isPrivate;
/**
* Required for org-wide apps.
*/
private String teamId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy