Class ConversationsInfoRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsInfoRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsInfoRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsInfoRequest.ConversationsInfoRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsInfoRequest.ConversationsInfoRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()Conversation ID to learn more aboutStringgetToken()Authentication token.inthashCode()booleanisIncludeLocale()Set this to `true` to receive the locale for this conversation.booleanisIncludeNumMembers()Set 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.voidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static ConversationsInfoRequest.ConversationsInfoRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:read`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public String 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
public void setToken(String token)
Authentication token. Requires scope: `conversations:read`
-
setChannel
public void setChannel(String channel)
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
-
canEqual
protected boolean canEqual(Object other)
-
-