All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slack.api.methods.request.admin.conversations.AdminConversationsCreateRequest Maven / Gradle / Ivy

There is a newer version: 1.39.0
Show newest version
package com.slack.api.methods.request.admin.conversations;

import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;

/**
 * https://api.slack.com/methods/admin.conversations.create
 */
@Data
@Builder
public class AdminConversationsCreateRequest implements SlackApiRequest {

    /**
     * Authentication token bearing required scopes.
     */
    private String token;

    /**
     * When true, creates a private channel instead of a public channel
     */
    private Boolean isPrivate;

    /**
     * Name of the public or private channel to create.
     */
    private String name;

    /**
     * Description of the public or private channel to create.
     */
    private String description;

    /**
     * When true, the channel will be available org-wide.
     * Note: if the channel is not org_wide=true, you must specify a team_id for this channel
     */
    private Boolean orgWide;

    /**
     * The workspace to create the channel in.
     * Note: this argument is required unless you set org_wide=true.
     */
    private String teamId;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy