Slack.Web.Conversations.replies
You're seeing just the function
replies
, go back to Slack.Web.Conversations module for more information.
Returns an entire thread (a message plus all the messages in reply to it), while conversations.history
method returns only parent messages.
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 thread from. ex:G1234567890
ts
- Unique identifier of a thread's parent message. ex:1234567890.123456
Optional Params
cursor
- Paginate through collections of data by setting the cursor parameter to anext_cursor
attribute 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:true
latest
- End of time range of messages to include in results. ex:1234567890.123456
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. ex:20
oldest
- Start of time range of messages to include in results. ex:1234567890.123456
Errors the API can return:
channel_not_found
- Value forchannel
was invalidinvalid_cursor
- Value passed forcursor
was invalid.invalid_ts_latest
- Value passed forlatest
was invalid.invalid_ts_oldest
- Value passed foroldest
was invalid.thread_not_found
- Value forts
was missing or invalid