Class MpimHistoryRequest.MpimHistoryRequestBuilder
java.lang.Object
com.slack.api.methods.request.mpim.MpimHistoryRequest.MpimHistoryRequestBuilder
- Enclosing class:
- MpimHistoryRequest
public static class MpimHistoryRequest.MpimHistoryRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description MpimHistoryRequestbuild()MpimHistoryRequest.MpimHistoryRequestBuilderchannel(String channel)Multiparty direct message to fetch history for.MpimHistoryRequest.MpimHistoryRequestBuildercount(Integer count)Number of messages to return, between 1 and 1000.MpimHistoryRequest.MpimHistoryRequestBuilderinclusive(boolean inclusive)Include messages with latest or oldest timestamp in results.MpimHistoryRequest.MpimHistoryRequestBuilderlatest(String latest)End of time range of messages to include in results.MpimHistoryRequest.MpimHistoryRequestBuilderoldest(String oldest)Start of time range of messages to include in results.MpimHistoryRequest.MpimHistoryRequestBuildertoken(String token)Authentication token.StringtoString()MpimHistoryRequest.MpimHistoryRequestBuilderunreads(boolean unreads)Include `unread_count_display` in the output?
-
Method Details
-
token
Authentication token. Requires scope: `mpim:history`- Returns:
this.
-
channel
Multiparty direct message 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.
-
count
Number of messages to return, between 1 and 1000.- Returns:
this.
-
inclusive
Include messages with latest or oldest timestamp in results.- Returns:
this.
-
unreads
Include `unread_count_display` in the output?- Returns:
this.
-
build
-
toString
-