Class ChannelsHistoryRequest.ChannelsHistoryRequestBuilder
java.lang.Object
com.slack.api.methods.request.channels.ChannelsHistoryRequest.ChannelsHistoryRequestBuilder
- Enclosing class:
- ChannelsHistoryRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Channel to fetch history for.Number of messages to return, between 1 and 1000.inclusive(boolean inclusive) Include messages with latest or oldest timestamp in results.End of time range of messages to include in results.Start of time range of messages to include in results.Authentication token.toString()unreads(boolean unreads) Include `unread_count_display` in the output?
-
Method Details
-
token
Authentication token. Requires scope: `channels:history`- Returns:
this.
-
channel
Channel to fetch history for.- Returns:
this.
-
latest
End of time range of messages to include in results.- Returns:
this.
-
oldest
Start of time range of messages to include in results.- Returns:
this.
-
inclusive
Include messages with latest or oldest timestamp in results.- Returns:
this.
-
count
Number of messages to return, between 1 and 1000.- Returns:
this.
-
unreads
Include `unread_count_display` in the output?- Returns:
this.
-
build
-
toString
-