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 MpimHistoryRequest
build()
MpimHistoryRequest.MpimHistoryRequestBuilder
channel(String channel)
Multiparty direct message to fetch history for.MpimHistoryRequest.MpimHistoryRequestBuilder
count(Integer count)
Number of messages to return, between 1 and 1000.MpimHistoryRequest.MpimHistoryRequestBuilder
inclusive(boolean inclusive)
Include messages with latest or oldest timestamp in results.MpimHistoryRequest.MpimHistoryRequestBuilder
latest(String latest)
End of time range of messages to include in results.MpimHistoryRequest.MpimHistoryRequestBuilder
oldest(String oldest)
Start of time range of messages to include in results.MpimHistoryRequest.MpimHistoryRequestBuilder
token(String token)
Authentication token.String
toString()
MpimHistoryRequest.MpimHistoryRequestBuilder
unreads(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
-