lib/slack/web/api/endpoints/conversations.rb in slack-ruby-client-0.16.0 vs lib/slack/web/api/endpoints/conversations.rb in slack-ruby-client-0.17.0
- old
+ new
@@ -161,11 +161,11 @@
# @option options [Object] :exclude_archived
# Set to true to exclude archived channels from the list.
# @option options [Object] :limit
# The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000.
# @option options [Object] :team_id
- # encoded team id to list channels in, required if org token is used.
+ # encoded team id to list channels in, required if token belongs to org-wide app.
# @option options [Object] :types
# Mix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im.
# @see https://api.slack.com/methods/conversations.list
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/conversations/conversations.list.json
def conversations_list(options = {})
@@ -253,10 +253,10 @@
# Retrieve a thread of messages posted to a conversation
#
# @option options [channel] :channel
# Conversation ID to fetch thread from.
# @option options [timestamp] :ts
- # Unique identifier of a thread's parent message. ts must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by ts will return - it is just an ordinary, unthreaded message.
+ # Unique identifier of either a thread's parent message or a message in the thread. ts must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by ts will return - it is just an ordinary, unthreaded message.
# @option options [Object] :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 for more detail.
# @option options [Object] :inclusive
# Include messages with latest or oldest timestamp in results only when either timestamp is specified.
# @option options [timestamp] :latest