Package com.slack.api.methods.request.im
Class ImHistoryRequest.ImHistoryRequestBuilder
java.lang.Object
com.slack.api.methods.request.im.ImHistoryRequest.ImHistoryRequestBuilder
- Enclosing class:
- ImHistoryRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Direct message 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: `im:history`- Returns:
this.
-
channel
Direct message channel to fetch history for.- 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.
-
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
-