Slack.Web.Conversations.history
You're seeing just the function
history, go back to Slack.Web.Conversations module for more information.
Returns a portion of message events from the specified conversation.
Bot user tokens may use this method for direct message and multi-party direct message conversations but lack sufficient permissions to use this method on public and private channels.
Required Params
channel- Conversation ID to fetch history for. ex:G1234567890
Optional Params
cursor- Paginate through collections of data by setting the cursor parameter to anext_cursorattribute returned by a previous request'sresponse_metadata. Default value fetches the first "page" of the collection. See pagination for more detail. ex:dXNlcjpVMDYxTkZUVDI=inclusive- Include messages with latest or oldest timestamp in results only when either timestamp is specified. ex:truelatest- End of time range of messages to include in results. ex:1234567890.123456limit- 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. ex:20oldest- Start of time range of messages to include in results. ex:1234567890.123456
Errors the API can return:
channel_not_found- Value passed forchannelwas invalid