You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
*[#581](https://github.com/slack-ruby/slack-ruby-client/pull/581): Migrate Danger to use danger-pr-comment workflow - [@dblock](https://github.com/dblock).
4
4
*[#583](https://github.com/slack-ruby/slack-ruby-client/pull/583): Not found errors raised by id_for use more specific error classes when they exist - [@eizengan](https://github.com/eizengan).
5
5
*[#585](https://github.com/slack-ruby/slack-ruby-client/pull/585): Fix ci not triggering on automated api update prs - [@Copilot](https://github.com/Copilot).
6
+
*[#578](https://github.com/slack-ruby/slack-ruby-client/pull/578): Update API from [slack-api-ref@3275786](https://github.com/slack-ruby/slack-api-ref/commit/3275786) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
# This file was auto-generated by lib/tasks/web.rake
3
+
4
+
moduleSlack
5
+
moduleCli
6
+
classApp
7
+
desc'AdminAnalyticsMessages methods.'
8
+
command'admin_analytics_messages'do |g|
9
+
g.desc'Retrieves activity metrics for messages from a given channel.'
10
+
g.long_desc%( Retrieves activity metrics for messages from a given channel. )
11
+
g.command'activity'do |c|
12
+
c.flag'channel',desc: 'Channel ID for channel of the message activity to query.'
13
+
c.flag'oldest_ts',desc: 'Oldest timestamp to include in the results. Defaults to 7 days before current time. If not passed while still passing the latest_ts parameter, defaults to 7 days before latest_ts.'
14
+
c.flag'latest_ts',desc: 'Most recent timestamp to include in results. Defaults to current time. If not passed while still passing the oldest_ts parameter, defaults to 7 days after oldest_ts.'
15
+
c.flag'cursor',desc: "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."
16
+
c.flag'limit',desc: 'Maximum number of entries to return. The maximum limit is 100.'
g.desc'Retrieves metadata for a list of messages from a given channel.'
23
+
g.long_desc%( Retrieves metadata for a list of messages from a given channel. )
24
+
g.command'metadata'do |c|
25
+
c.flag'channel',desc: 'Channel ID for channel containing the messages to query.'
26
+
c.flag'oldest_ts',desc: 'Oldest timestamp to include in the results.'
27
+
c.flag'latest_ts',desc: 'Most recent timestamp to include in the results. If not passed, defaults to current time.'
28
+
c.flag'cursor',desc: "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 details."
Copy file name to clipboardExpand all lines: bin/commands/admin_users.rb
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,8 @@ class App
55
55
c.flag'is_active',desc: 'If true, only active users will be returned. If false, only deactivated users will be returned. Default is true.'
56
56
c.flag'include_deactivated_user_workspaces',desc: 'Only applies with org token and no team_id. If true, return workspaces for a user even if they may be deactivated on them. If false, return workspaces for a user only when user is active on them. Default is false.'
57
57
c.flag'only_guests',desc: 'If true, returns only guests and their expiration dates that belong to the team_id.'
58
+
c.flag'include_admins',desc: 'If true, only admin users will be returned (excludes owners). Returns all admins and owners when combined with include_owners. Cannot be used together with only_guests.'
59
+
c.flag'include_owners',desc: 'If true, only owner users will be returned. Cannot be used together with only_guests.'
58
60
c.flag'limit',desc: 'Limit for how many users to be retrieved per page.'
59
61
c.actiondo |_global_options,options,_args|
60
62
putsJSON.dump(@client.admin_users_list(options))
@@ -71,10 +73,10 @@ class App
71
73
end
72
74
end
73
75
74
-
g.desc'Set an existing regular user or owner to be a workspace admin.'
75
-
g.long_desc%( Set an existing regular user or owner to be a workspace admin. )
76
+
g.desc'Set an existing regular user or owner to be a workspace or org admin.'
77
+
g.long_desc%( Set an existing regular user or owner to be a workspace or org admin. )
76
78
g.command'setAdmin'do |c|
77
-
c.flag'team_id',desc: 'The ID (T1234) of the workspace.'
79
+
c.flag'team_id',desc: 'The ID of the workspace or organization.'
78
80
c.flag'user_id',desc: 'The ID of the user to designate as an admin.'
Copy file name to clipboardExpand all lines: bin/commands/assistant_search.rb
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ module Cli
6
6
classApp
7
7
desc'AssistantSearch methods.'
8
8
command'assistant_search'do |g|
9
-
g.desc'Searches messages across your Slack organization—perfect for broad, specific, and real-time data retrieval.'
10
-
g.long_desc%( Searches messages across your Slack organization—perfect for broad, specific, and real-time data retrieval. )
9
+
g.desc'Searches messages, files, channels and users across your Slack organization.'
10
+
g.long_desc%( Searches messages, files, channels and users across your Slack organization. )
11
11
g.command'context'do |c|
12
12
c.flag'query',desc: 'User prompt or search query.'
13
13
c.flag'action_token',desc: 'Send action_token as received in a message event.'
@@ -28,6 +28,7 @@ class App
28
28
c.flag'term_clauses',desc: 'A list of term clauses. A term clause is a string with search terms. Search results returned will match every term clause specified (i.e., conjunctive normal form).'
29
29
c.flag'modifiers',desc: 'A string containing only modifiers in the format of modifier:value. Search results returned will match the modifier value. For now modifiers only affect term clauses.'
30
30
c.flag'include_archived_channels',desc: 'Whether to include archived channels in the search results.'
31
+
c.flag'disable_semantic_search',desc: 'Whether to disable semantic search. When true, only keyword-based search is used. Defaults to false.'
0 commit comments