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: bin/commands/admin_analytics_messages.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ class App
13
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
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
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.'
16
+
c.flag'limit',desc: 'Maximum number of entries to return. Defaults to 50 if not passed. Max allowed is 100.'
c.flag'channel',desc: 'Channel ID for channel containing the messages to query.'
26
26
c.flag'oldest_ts',desc: 'Oldest timestamp to include in the results.'
27
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."
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 detail."
Copy file name to clipboardExpand all lines: bin/commands/admin_functions.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ class App
11
11
g.command'list'do |c|
12
12
c.flag'team_id',desc: 'The team context to retrieve functions from.'
13
13
c.flag'app_ids',desc: 'Comma-separated array of app IDs to get functions for; max 50.'
14
-
c.flag'include_non_distributed_functions',desc: 'Whether to also include functions that are not yet distributed to any users in the function count. This is needed for admins that are approving an app request and will only work if the team owns the app.'
14
+
c.flag'include_non_distributed_functions',desc: 'Whether to also include functions that are not yet distributed to any users in the function list. This is needed for admins that are approving an app request and will only work if the team owns the app.'
15
15
c.flag'cursor',desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
16
16
c.flag'limit',desc: 'The number of results that will be returned by the API on each invocation. Must be between 1 and 1000, both inclusive.'
c.flag'team_ids',desc: 'A comma separated list of encoded team (workspace) IDs. Each workspace MUST belong to the organization associated with the token.'
# This file was auto-generated by lib/tasks/web.rake
3
+
4
+
moduleSlack
5
+
moduleCli
6
+
classApp
7
+
desc'AgentsSessions methods.'
8
+
command'agents_sessions'do |g|
9
+
g.desc'Rename an agent session.'
10
+
g.long_desc%( Rename an agent session. )
11
+
g.command'rename'do |c|
12
+
c.flag'channel_id',desc: 'ID of the channel containing the agent session. Required for public channels.'
13
+
c.flag'title',desc: 'New title for the agent session (1-200 characters). For a session channel, this also renames the channel.'
14
+
c.flag'thread_ts',desc: 'Timestamp of the thread root message the session is scoped to. Required for thread-based sessions in regular channels and DMs. Must be omitted for session channels.'
g.desc"Set an agent session's lifecycle status, creating the session if needed."
21
+
g.long_desc%( Set an agent session's lifecycle status, creating the session if needed. )
22
+
g.command'setStatus'do |c|
23
+
c.flag'channel_id',desc: 'ID of the channel containing the agent session. Required for public channels.'
24
+
c.flag'status',desc: 'The lifecycle status to set.'
25
+
c.flag'thread_ts',desc: 'Timestamp of the thread root message the session is scoped to. Required for thread-based sessions in regular channels and DMs. Must be omitted for session channels.'
26
+
c.flag'title',desc: 'Title for the agent session (max 200 characters). Only used when creating a new session; ignored if the session already exists. To rename an existing session, use agents.sessions.rename.'
27
+
c.flag'initiator_user_id',desc: 'The user who initiated the session. Only used when creating a new session; ignored if the session already exists. Must be a member of the channel.'
28
+
c.flag'icon_emoji',desc: "Emoji to use as the agent's icon. Takes priority over icon_url. Remains in effect until you clear it (pass null) or set a new value. Requires the chat:write.customize scope."
29
+
c.flag'icon_url',desc: "URL to an image to use as the agent's icon. Remains in effect until you clear it (pass null) or set a new value. Requires the chat:write.customize scope."
30
+
c.flag'username',desc: 'Display name override for the agent (max 200 characters). Remains in effect until you clear it (pass null) or set a new value. Requires the chat:write.customize scope.'
# This file was auto-generated by lib/tasks/web.rake
3
+
4
+
moduleSlack
5
+
moduleCli
6
+
classApp
7
+
desc'AppsManagedPermissions methods.'
8
+
command'apps_managed_permissions'do |g|
9
+
g.desc"Set who can interact with a managed app. Lets the builder who created a managed app on a partner platform configure the app's permissions as themselves, using a user token from the manager app. Permissions can only be set before the app is installed: if the app is already installed, this method makes no change and returns the app's current permissions."
10
+
g.long_desc%( Set who can interact with a managed app. Lets the builder who created a managed app on a partner platform configure the app's permissions as themselves, using a user token from the manager app. Permissions can only be set before the app is installed: if the app is already installed, this method makes no change and returns the app's current permissions. )
11
+
g.command'set'do |c|
12
+
c.flag'app_id',desc: 'Encoded ID of the managed app to configure.'
13
+
c.flag'permissions',desc: "Who can interact with the app. Use everyone to allow all members, or app_owner to restrict access to the app's owner."
Copy file name to clipboardExpand all lines: bin/commands/assistant_threads.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ class App
25
25
g.long_desc%( Set suggested prompts for the given assistant thread )
26
26
g.command'setSuggestedPrompts'do |c|
27
27
c.flag'channel_id',desc: 'Channel ID containing the assistant thread.'
28
-
c.flag'thread_ts',desc: 'Message timestamp of the thread to set suggested prompts for.'
28
+
c.flag'thread_ts',desc: 'Message timestamp of the thread to set suggested prompts for. If not provided, the prompts will be set for the latest message in the channel.'
29
29
c.flag'prompts',desc: 'Each prompt should be supplied with its title and message attribute.'
30
30
c.flag'title',desc: 'Title for the list of provided prompts. For example: Suggested Prompts, Related Questions.'
Copy file name to clipboardExpand all lines: bin/commands/chat.rb
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,7 @@ class App
114
114
c.flag'unfurl_links',desc: 'Pass true to enable unfurling of primarily text-based content.'
115
115
c.flag'unfurl_media',desc: 'Pass false to disable unfurling of media content.'
116
116
c.flag'username',desc: "Set your bot's user name."
117
+
c.flag'unfurl_app_links',desc: 'Pass true to unfurl links from installed apps, or false to prevent app links from unfurling. When omitted, app links follow the unfurl_links setting.'
117
118
c.actiondo |_global_options,options,_args|
118
119
putsJSON.dump(@client.chat_postMessage(options))
119
120
end
@@ -144,13 +145,13 @@ class App
144
145
g.desc'Starts a new streaming conversation.'
145
146
g.long_desc%( Starts a new streaming conversation. )
146
147
g.command'startStream'do |c|
147
-
c.flag'channel',desc: 'An encoded ID that represents a channel thread or DM.'
148
+
c.flag'channel',desc: 'An encoded ID that represents a channel, thread, or DM.'
148
149
c.flag'chunks',desc: 'Array of streaming chunks.'
149
150
c.flag'markdown_text',desc: 'Accepts message text formatted in markdown. Limit this field to 12,000 characters.'
150
-
c.flag'thread_ts',desc: "Provide another message's ts value to reply to. Streamed messages should always be replies to a user request."
151
+
c.flag'thread_ts',desc: "Provide another message's ts value to reply to. Omit it to stream a top-level message instead of a thread reply; this is only supported in channels where the whole channel is one session, such as Slack Code, and returns invalid_thread_ts elsewhere. Passing '0' is equivalent to omitting it."
151
152
c.flag'recipient_user_id',desc: 'The encoded ID of the user to receive the streaming text. Required when streaming to channels.'
152
153
c.flag'recipient_team_id',desc: 'The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels.'
153
-
c.flag'task_display_mode',desc: "Specifies how tasks are displayed in the message. A timeline displays individual tasks with text in sequential order, plan displays all tasks together, with the first tasks's placement determining the placement of the rest of the tasks, and dense collapses consecutive tool calls into a single summarized task card."
154
+
c.flag'task_display_mode',desc: 'Specifies how tasks are displayed in the message. timeline task updates render as individual task cards interleaved with streamed text. plan task updates render together in a plan block.'
154
155
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url.'
155
156
c.flag'icon_url',desc: 'Image URL to use as the icon for this message.'
156
157
c.flag'username',desc: "The bot's username to display."
@@ -178,7 +179,7 @@ class App
178
179
g.command'unfurl'do |c|
179
180
c.flag'channel',desc: 'Channel ID of the message. Both channel and ts must be provided together, or unfurl_id and source must be provided together. Required for public channels.'
180
181
c.flag'ts',desc: 'Timestamp of the message to add unfurl behavior to. Required for public channels.'
181
-
c.flag'unfurls',desc: 'URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments. Required for public channels.'
182
+
c.flag'unfurls',desc: 'URL-encoded JSON map with keys set to URLs featured in the message, pointing to their unfurl blocks or message attachments. Required for public channels.'
182
183
c.flag'user_auth_message',desc: 'Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior. Provides two buttons, Not now or Never ask me again.'
183
184
c.flag'user_auth_required',desc: 'Set to true or 1 to indicate the user must install your Slack app to trigger unfurls for this domain.'
184
185
c.flag'user_auth_url',desc: 'Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded.'
Copy file name to clipboardExpand all lines: bin/commands/conversations.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ class App
100
100
g.command'invite'do |c|
101
101
c.flag'channel',desc: 'The ID of the public or private channel to invite user(s) to.'
102
102
c.flag'force',desc: 'When set to true and multiple user IDs are provided, continue inviting the valid ones while disregarding invalid IDs. Defaults to false.'
103
-
c.flag'users',desc: 'A comma separated list of user IDs. Up to 100 users may be listed.'
103
+
c.flag'users',desc: 'A comma separated list of user IDs. Up to 1000 users may be listed.'
0 commit comments