Class ConversationsCreateRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsCreateRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.create
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetName()Name of the public or private channel to createRequired for org-wide apps.getToken()Authentication token.inthashCode()booleanCreate a private channel instead of a public onevoidName of the public or private channel to createvoidsetPrivate(boolean isPrivate) Create a private channel instead of a public onevoidRequired for org-wide apps.voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getName
Name of the public or private channel to create -
isPrivate
public boolean isPrivate()Create a private channel instead of a public one -
getTeamId
Required for org-wide apps. -
setToken
Authentication token. Requires scope: `conversations:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setName
Name of the public or private channel to create -
setPrivate
public void setPrivate(boolean isPrivate) Create a private channel instead of a public one -
setTeamId
Required for org-wide apps. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-