Class AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder
- Enclosing class:
- AdminConversationsCreateRequest
public static class AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) Description of the public or private channel to create.When true, creates a private channel instead of a public channelName of the public or private channel to create.When true, the channel will be available org-wide.The workspace to create the channel in.Authentication token bearing required scopes.toString()
-
Method Details
-
token
Authentication token bearing required scopes.- Returns:
this.
-
isPrivate
public AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder isPrivate(Boolean isPrivate) When true, creates a private channel instead of a public channel- Returns:
this.
-
name
Name of the public or private channel to create.- Returns:
this.
-
description
public AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder description(String description) Description of the public or private channel to create.- Returns:
this.
-
orgWide
public AdminConversationsCreateRequest.AdminConversationsCreateRequestBuilder orgWide(Boolean orgWide) 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- Returns:
this.
-
teamId
The workspace to create the channel in. Note: this argument is required unless you set org_wide=true.- Returns:
this.
-
build
-
toString
-