Class ConversationsInfoRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsInfoRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsInfoRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/conversations.info
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationsInfoRequest.ConversationsInfoRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsInfoRequest.ConversationsInfoRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Conversation ID to learn more aboutString
getToken()
Authentication token.int
hashCode()
boolean
isIncludeLocale()
Set this to `true` to receive the locale for this conversation.boolean
isIncludeNumMembers()
Set to true to include the member count for the specified conversation.void
setChannel(String channel)
Conversation ID to learn more aboutvoid
setIncludeLocale(boolean includeLocale)
Set this to `true` to receive the locale for this conversation.void
setIncludeNumMembers(boolean includeNumMembers)
Set to true to include the member count for the specified conversation.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static ConversationsInfoRequest.ConversationsInfoRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:read`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
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`- Specified by:
setToken
in interfaceSlackApiRequest
-
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)
-
-