Class ConversationsFilter.ConversationsFilterBuilder
java.lang.Object
com.slack.api.model.block.element.ConversationsFilter.ConversationsFilterBuilder
- Enclosing class:
- ConversationsFilter
public static class ConversationsFilter.ConversationsFilterBuilder extends Object
-
Method Summary
Modifier and Type Method Description ConversationsFilterbuild()ConversationsFilter.ConversationsFilterBuilderexcludeBotUsers(Boolean excludeBotUsers)Indicates whether to exclude bot users from conversation lists.ConversationsFilter.ConversationsFilterBuilderexcludeExternalSharedChannels(Boolean excludeExternalSharedChannels)Indicates whether to exclude external shared channels from conversation lists.ConversationsFilter.ConversationsFilterBuilderinclude(List<String> include)Indicates which type of conversations should be included in the list.StringtoString()
-
Method Details
-
include
Indicates which type of conversations should be included in the list. When this field is provided, any conversations that do not match will be excluded. You should provide an array of strings from the following options: im, mpim, private, and public. The array cannot be empty.- Returns:
this.
-
excludeExternalSharedChannels
public ConversationsFilter.ConversationsFilterBuilder excludeExternalSharedChannels(Boolean excludeExternalSharedChannels)Indicates whether to exclude external shared channels from conversation lists. Defaults to false.- Returns:
this.
-
excludeBotUsers
Indicates whether to exclude bot users from conversation lists. Defaults to false.- Returns:
this.
-
build
-
toString
-