public static class ChannelsHistoryRequest.ChannelsHistoryRequestBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ChannelsHistoryRequest |
build() |
ChannelsHistoryRequest.ChannelsHistoryRequestBuilder |
channel(String channel)
Channel to fetch history for.
|
ChannelsHistoryRequest.ChannelsHistoryRequestBuilder |
count(Integer count)
Number of messages to return, between 1 and 1000.
|
ChannelsHistoryRequest.ChannelsHistoryRequestBuilder |
inclusive(boolean inclusive)
Include messages with latest or oldest timestamp in results.
|
ChannelsHistoryRequest.ChannelsHistoryRequestBuilder |
latest(String latest)
End of time range of messages to include in results.
|
ChannelsHistoryRequest.ChannelsHistoryRequestBuilder |
oldest(String oldest)
Start of time range of messages to include in results.
|
ChannelsHistoryRequest.ChannelsHistoryRequestBuilder |
token(String token)
Authentication token.
|
String |
toString() |
ChannelsHistoryRequest.ChannelsHistoryRequestBuilder |
unreads(boolean unreads)
Include `unread_count_display` in the output?
|
public ChannelsHistoryRequest.ChannelsHistoryRequestBuilder token(String token)
public ChannelsHistoryRequest.ChannelsHistoryRequestBuilder channel(String channel)
public ChannelsHistoryRequest.ChannelsHistoryRequestBuilder latest(String latest)
public ChannelsHistoryRequest.ChannelsHistoryRequestBuilder oldest(String oldest)
public ChannelsHistoryRequest.ChannelsHistoryRequestBuilder inclusive(boolean inclusive)
public ChannelsHistoryRequest.ChannelsHistoryRequestBuilder count(Integer count)
public ChannelsHistoryRequest.ChannelsHistoryRequestBuilder unreads(boolean unreads)
public ChannelsHistoryRequest build()
Copyright © 2020. All rights reserved.