Class ConversationsHistoryRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsHistoryRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/conversations.history
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Conversation ID to fetch history for.Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.End of time range of messages to include in results.getLimit()
The maximum number of items to return.Start of time range of messages to include in results.getToken()
Authentication token.int
hashCode()
boolean
Return all metadata associated with this message.boolean
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
Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.void
setIncludeAllMetadata
(boolean includeAllMetadata) Return all metadata associated with this message.void
setInclusive
(boolean inclusive) Include messages with latest or oldest timestamp in results only when either timestamp is specified.void
End of time range of messages to include in results.void
The maximum number of items to return.void
Start of time range of messages to include in results.void
Authentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:history`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getChannel
Conversation ID to fetch history for. -
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
Start of time range of messages to include in results. -
getLatest
End of time range of messages to include in results. -
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. -
isIncludeAllMetadata
public boolean isIncludeAllMetadata()Return all metadata associated with this message. -
setToken
Authentication token. Requires scope: `conversations:history`- Specified by:
setToken
in interfaceSlackApiRequest
-
setChannel
Conversation ID to fetch history for. -
setCursor
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
Start of time range of messages to include in results. -
setLatest
End of time range of messages to include in results. -
setLimit
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. -
setIncludeAllMetadata
public void setIncludeAllMetadata(boolean includeAllMetadata) Return all metadata associated with this message. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-