Class ConversationsHistoryRequest.ConversationsHistoryRequestBuilder
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsHistoryRequest.ConversationsHistoryRequestBuilder
- Enclosing class:
- ConversationsHistoryRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Conversation ID to fetch history for.Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.inclusive
(boolean inclusive) Include messages with latest or oldest timestamp in results only when either timestamp is specified.End of time range of messages to include in results.The maximum number of items to return.Start of time range of messages to include in results.Authentication token.toString()
-
Method Details
-
token
Authentication token. Requires scope: `conversations:history`- Returns:
this
.
-
channel
Conversation ID to fetch history for.- Returns:
this
.
-
cursor
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.
- Returns:
this
.
-
oldest
Start of time range of messages to include in results.- Returns:
this
.
-
latest
End of time range of messages to include in results.- Returns:
this
.
-
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.- Returns:
this
.
-
inclusive
Include messages with latest or oldest timestamp in results only when either timestamp is specified.- Returns:
this
.
-
build
-
toString
-