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
@@ -2,6 +2,7 @@
2
2
3
3
*[#549](https://github.com/slack-ruby/slack-ruby-client/pull/549): Add group ID formatting support for message mentions - [@n0h0](https://github.com/n0h0).
4
4
*[#553](https://github.com/slack-ruby/slack-ruby-client/pull/553): Use `secure_compare` during signature verification - [@hieuk09](https://github.com/hieuk09).
5
+
*[#547](https://github.com/slack-ruby/slack-ruby-client/pull/547): Update API from [slack-api-ref@1ee282e](https://github.com/slack-ruby/slack-api-ref/commit/1ee282e) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
Copy file name to clipboardExpand all lines: bin/commands/admin_conversations.rb
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,17 @@ class App
75
75
end
76
76
end
77
77
78
+
g.desc'Create a Salesforce channel for the corresponding object provided.'
79
+
g.long_desc%( Create a Salesforce channel for the corresponding object provided. )
80
+
g.command'createForObjects'do |c|
81
+
c.flag'object_id',desc: 'Object / Record ID (15 or 18 digit accepted). See here for how to look up an ID.'
82
+
c.flag'salesforce_org_id',desc: 'Salesforce org ID (15 or 18 digit accepted). See here for how to look up Salesforce org ID.'
83
+
c.flag'invite_object_team',desc: 'Optional flag to add all team members related to the object to the newly created Salesforce channel. When true, adds a maximum of 100 team members to the channel.'
g.long_desc%( Delete a public or private channel. )
80
91
g.command'delete'do |c|
@@ -219,7 +230,7 @@ class App
219
230
c.flag'channel_id',desc: 'The encoded channel_id to add or remove to workspaces.'
220
231
c.flag'org_channel',desc: 'True if channel has to be converted to an org channel.'
221
232
c.flag'target_team_ids',desc: 'A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.'
222
-
c.flag'team_id',desc: 'The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.'
233
+
c.flag'team_id',desc: 'The workspace to which the channel belongs if the channel is a local workspace channel. Omit this argument if the channel is a cross-workspace or org-wide shared channel.'
Copy file name to clipboardExpand all lines: bin/commands/admin_users.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ class App
44
44
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.'
45
45
c.flag'is_active',desc: 'If true, only active users will be returned. If false, only deactivated users will be returned. Default is true.'
46
46
c.flag'limit',desc: 'Limit for how many users to be retrieved per page.'
47
-
c.flag'team_id',desc: 'The ID (T1234) of the workspace. The team_id is required if you use an org-level token.'
47
+
c.flag'team_id',desc: 'The ID (T1234) of a workspace. Filters results to just the specified workspace.'
# This file was auto-generated by lib/tasks/web.rake
3
+
4
+
moduleSlack
5
+
moduleCli
6
+
classApp
7
+
desc'AssistantSearch methods.'
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. )
11
+
g.command'context'do |c|
12
+
c.flag'query',desc: 'User prompt or search query.'
13
+
c.flag'action_token',desc: 'Send action_token as received in a message event.'
14
+
c.flag'channel_types',desc: 'Mix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im.'
15
+
c.flag'content_types',desc: 'Content types to include, a comma-separated list of any combination of messages, files.'
16
+
c.flag'context_channel_id',desc: 'Context channel ID to support scoping the search when applicable.'
17
+
c.flag'cursor',desc: 'The cursor returned by the API. Leave this blank for the first request, and use this to get the next page of results.'
18
+
c.flag'include_bots',desc: 'If you want the results to include bots.'
19
+
c.flag'limit',desc: 'Number of results to return, up to a max of 20. Defaults to 20.'
Copy file name to clipboardExpand all lines: bin/commands/chat.rb
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ class App
87
87
c.flag'attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string.'
88
88
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
89
89
c.flag'text',desc: 'How this field works and whether it is required depends on other fields you use in your API call. See below for more detail.'
90
+
c.flag'agent_message_source_type',desc: 'Identify how the message was posted for agentforce BE logging.'
90
91
c.flag'as_user',desc: '(Legacy) Pass true to post the message as the authed user instead of as a bot. Defaults to false. Can only be used by classic apps. See legacy as_user parameter below.'
91
92
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url.'
92
93
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message.'
Copy file name to clipboardExpand all lines: bin/commands/files.rb
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ class App
10
10
g.long_desc%( Finishes an upload started with files.getUploadURLExternal )
11
11
g.command'completeUploadExternal'do |c|
12
12
c.flag'files',desc: 'Array of file ids and their corresponding (optional) titles.'
13
+
c.flag'blocks',desc: 'A JSON-based array of structured rich text blocks, presented as a URL-encoded string. If the initial_comment field is provided, the blocks field is ignored.'
13
14
c.flag'channel_id',desc: 'Channel ID where the file will be shared. If not specified the file will be private.'
14
15
c.flag'channels',desc: 'Comma-separated string of channel IDs where the file will be shared.'
15
16
c.flag'initial_comment',desc: 'The message text introducing the file in specified channels.'
Copy file name to clipboardExpand all lines: bin/commands/functions_distributions_permissions.rb
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ class App
18
18
end
19
19
end
20
20
21
-
g.desc'List the access type of a custom slack function and include the users with access if its permission_type is set to named_entities'
22
-
g.long_desc%( List the access type of a custom slack function and include the users with access if its permission_type is set to named_entities )
21
+
g.desc'List the access type of a custom slack function and include the users or team or org ids with access if its permission_type is set to named_entities'
22
+
g.long_desc%( List the access type of a custom slack function and include the users or team or org ids with access if its permission_type is set to named_entities )
23
23
g.command'list'do |c|
24
24
c.flag'function_app_id',desc: 'The encoded ID of the app.'
25
25
c.flag'function_callback_id',desc: "The callback ID defined in the function's definition file."
@@ -41,13 +41,15 @@ class App
41
41
end
42
42
end
43
43
44
-
g.desc'Set the access type of a custom slack function and define the users to be granted access if permission_type is set to named_entities'
45
-
g.long_desc%( Set the access type of a custom slack function and define the users to be granted access if permission_type is set to named_entities )
44
+
g.desc'Set the access type of a custom slack function and define the users or team or org ids to be granted access if permission_type is set to named_entities'
45
+
g.long_desc%( Set the access type of a custom slack function and define the users or team or org ids to be granted access if permission_type is set to named_entities )
46
46
g.command'set'do |c|
47
47
c.flag'permission_type',desc: 'The type of permission that defines how the function can be distributed.'
48
48
c.flag'function_app_id',desc: 'The encoded ID of the app.'
49
49
c.flag'function_callback_id',desc: "The callback ID defined in the function's definition file."
50
50
c.flag'function_id',desc: 'The encoded ID of the function.'
51
+
c.flag'org_ids',desc: 'List of org IDs to allow for named_entities permission.'
52
+
c.flag'team_ids',desc: 'List of team IDs to allow for named_entities permission.'
51
53
c.flag'user_ids',desc: 'List of encoded user IDs.'
0 commit comments