Class ConversationsListRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsListRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.list
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanPaginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.getLimit()The maximum number of items to return.Required for org-wide apps.getToken()Authentication token.getTypes()Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im`inthashCode()booleanSet to `true` to exclude archived channels from the listvoidPaginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.voidsetExcludeArchived(boolean excludeArchived) Set to `true` to exclude archived channels from the listvoidThe maximum number of items to return.voidRequired for org-wide apps.voidAuthentication token.voidsetTypes(List<ConversationType> types) Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im`toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:read`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getCursor
Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail. -
isExcludeArchived
public boolean isExcludeArchived()Set to `true` to exclude archived channels from the list -
getLimit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. -
getTypes
Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` -
getTeamId
Required for org-wide apps. -
setToken
Authentication token. Requires scope: `conversations:read`- Specified by:
setTokenin interfaceSlackApiRequest
-
setCursor
Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail. -
setExcludeArchived
public void setExcludeArchived(boolean excludeArchived) Set to `true` to exclude archived channels from the list -
setLimit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. -
setTypes
Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im` -
setTeamId
Required for org-wide apps. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-