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

com.slack.api.methods.request.conversations.ConversationsCreateRequest Maven / Gradle / Ivy

There is a newer version: 1.39.0
Show 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.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 - 2024 Weber Informatics LLC | Privacy Policy