Class ConversationsHistoryRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsHistoryRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsHistoryRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationsHistoryRequest.ConversationsHistoryRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
builder
public static ConversationsHistoryRequest.ConversationsHistoryRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:history`- Specified by:
getToken
in interfaceSlackApiRequest
-
getChannel
public String getChannel()
Conversation ID to fetch history for.
-
getCursor
public 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`.Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
-
getOldest
public String getOldest()
Start of time range of messages to include in results.
-
getLatest
public String getLatest()
End of time range of messages to include in results.
-
getLimit
public Integer getLimit()
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
-
isInclusive
public boolean isInclusive()
Include messages with latest or oldest timestamp in results only when either timestamp is specified.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `conversations:history`
-
setChannel
public void setChannel(String channel)
Conversation ID to fetch history for.
-
setCursor
public 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`.Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
-
setOldest
public void setOldest(String oldest)
Start of time range of messages to include in results.
-
setLatest
public void setLatest(String latest)
End of time range of messages to include in results.
-
setLimit
public void setLimit(Integer limit)
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
-
setInclusive
public void setInclusive(boolean inclusive)
Include messages with latest or oldest timestamp in results only when either timestamp is specified.
-
canEqual
protected boolean canEqual(Object other)
-
-