public class ConversationsHistoryRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationsHistoryRequest.ConversationsHistoryRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ConversationsHistoryRequest.ConversationsHistoryRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getChannel()
Conversation ID to fetch history for.
|
String |
getCursor()
Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute
returned by a previous request's `response_metadata`.
|
String |
getLatest()
End of time range of messages to include in results.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getOldest()
Start of time range of messages to include in results.
|
String |
getToken()
Authentication token.
|
int |
hashCode() |
boolean |
isInclusive()
Include messages with latest or oldest timestamp in results only when either timestamp is specified.
|
void |
setChannel(String channel)
Conversation ID to fetch history for.
|
void |
setCursor(String cursor)
Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute
returned by a previous request's `response_metadata`.
|
void |
setInclusive(boolean inclusive)
Include messages with latest or oldest timestamp in results only when either timestamp is specified.
|
void |
setLatest(String latest)
End of time range of messages to include in results.
|
void |
setLimit(Integer limit)
The maximum number of items to return.
|
void |
setOldest(String oldest)
Start of time range of messages to include in results.
|
void |
setToken(String token)
Authentication token.
|
String |
toString() |
public static ConversationsHistoryRequest.ConversationsHistoryRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic String getChannel()
public String getCursor()
Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
public String getOldest()
public String getLatest()
public Integer getLimit()
public boolean isInclusive()
public void setToken(String token)
public void setChannel(String channel)
public void setCursor(String cursor)
Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
public void setOldest(String oldest)
public void setLatest(String latest)
public void setLimit(Integer limit)
public void setInclusive(boolean inclusive)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.