Class ConversationsInfoRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsInfoRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.info
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanConversation ID to learn more aboutgetToken()Authentication token.inthashCode()booleanSet this to `true` to receive the locale for this conversation.booleanSet to true to include the member count for the specified conversation.voidsetChannel(String channel) Conversation ID to learn more aboutvoidsetIncludeLocale(boolean includeLocale) Set this to `true` to receive the locale for this conversation.voidsetIncludeNumMembers(boolean includeNumMembers) Set to true to include the member count for the specified conversation.voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:read`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannel
Conversation ID to learn more about -
isIncludeLocale
public boolean isIncludeLocale()Set this to `true` to receive the locale for this conversation. Defaults to `false` -
isIncludeNumMembers
public boolean isIncludeNumMembers()Set to true to include the member count for the specified conversation. Defaults to false -
setToken
Authentication token. Requires scope: `conversations:read`- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannel
Conversation ID to learn more about -
setIncludeLocale
public void setIncludeLocale(boolean includeLocale) Set this to `true` to receive the locale for this conversation. Defaults to `false` -
setIncludeNumMembers
public void setIncludeNumMembers(boolean includeNumMembers) Set to true to include the member count for the specified conversation. Defaults to false -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-