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_functions.rb
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,12 @@ module Cli
6
6
classApp
7
7
desc'AdminFunctions methods.'
8
8
command'admin_functions'do |g|
9
-
g.desc'Look up functions by a set of apps'
10
-
g.long_desc%( Look up functions by a set of apps )
9
+
g.desc'Look up functions by a set of apps.'
10
+
g.long_desc%( Look up functions by a set of apps. )
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
15
c.flag'cursor',desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
15
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.'
Copy file name to clipboardExpand all lines: bin/commands/assistant_search.rb
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,19 @@ class App
13
13
c.flag'action_token',desc: 'Send action_token as received in a message event.'
14
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
15
c.flag'content_types',desc: 'Content types to include, a comma-separated list of any combination of messages, files, channels, users.'
16
-
c.flag'include_bots',desc: 'If you want the results to include bots.'
16
+
c.flag'include_bots',desc: 'Whether the results should include bots.'
17
17
c.flag'before',desc: 'UNIX timestamp filter. If present, filters for results before this date.'
18
18
c.flag'after',desc: 'UNIX timestamp filter. If present, filters for results after this date.'
19
19
c.flag'include_context_messages',desc: 'Whether to include context messages surrounding the main message result. Defaults to false if unspecified.'
20
20
c.flag'context_channel_id',desc: 'Context channel ID to support scoping the search when applicable.'
21
-
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.'
21
+
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.'
22
22
c.flag'limit',desc: 'Number of results to return, up to a max of 20. Defaults to 20.'
23
23
c.flag'sort',desc: 'The field to sort the results by. Defaults to score. Can be one of: score, timestamp.'
24
24
c.flag'sort_dir',desc: 'The direction to sort the results by. Defaults to desc.'
25
25
c.flag'include_message_blocks',desc: 'Whether to return the message blocks in the response.'
26
26
c.flag'highlight',desc: 'Whether to highlight the search query in the results. Defaults to false if unspecified.'
27
-
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).'
27
+
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).'
28
+
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.'
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'channel',desc: 'An encoded ID or channel name that represents a channel, private group, or IM channel to send the message to. See below for more details.'
90
+
c.flag'current_draft_last_updated_ts',desc: "This field represents the timestamp of the draft's last update at the time this API is called. If the current message is a draft, this field can be provided to ensure synchronization with the server."
90
91
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url.'
91
92
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message.'
92
93
c.flag'link_names',desc: 'Find and link user groups. No longer supports linking individual users; use syntax shown in Mentioning Users instead.'
Copy file name to clipboardExpand all lines: bin/commands/oauth_v2.rb
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ class App
12
12
c.flag'client_id',desc: 'Issued when you created your application. If possible, avoid sending client_id and client_secret as parameters in your request and instead supply the Client ID and Client Secret using the HTTP Basic authentication scheme.'
13
13
c.flag'client_secret',desc: 'Issued when you created your application. If possible, avoid sending client_id and client_secret as parameters in your request and instead supply the Client ID and Client Secret using the HTTP Basic authentication scheme.'
14
14
c.flag'code',desc: 'The code param returned via the OAuth callback.'
15
+
c.flag'code_verifier',desc: 'The code_verifier param used to generate the code_challenge originally. Used for PKCE.'
15
16
c.flag'redirect_uri',desc: 'This must match the originally submitted URI (if one was sent).'
16
17
c.flag'grant_type',desc: 'The grant_type param as described in the OAuth spec.'
17
18
c.flag'refresh_token',desc: 'The refresh_token param as described in the OAuth spec.'
# 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.
16
18
# @option options [string] :cursor
17
19
# Set cursor to next_cursor returned by the previous call to list items in the next page.
Copy file name to clipboardExpand all lines: lib/slack/web/api/endpoints/assistant_search.rb
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ module AssistantSearch
18
18
# @option options [array] :content_types
19
19
# Content types to include, a comma-separated list of any combination of messages, files, channels, users.
20
20
# @option options [boolean] :include_bots
21
-
# If you want the results to include bots.
21
+
# Whether the results should include bots.
22
22
# @option options [integer] :before
23
23
# UNIX timestamp filter. If present, filters for results before this date.
24
24
# @option options [integer] :after
@@ -28,7 +28,7 @@ module AssistantSearch
28
28
# @option options [Object] :context_channel_id
29
29
# Context channel ID to support scoping the search when applicable.
30
30
# @option options [string] :cursor
31
-
# The cursor returned by the API. Leave this blank for the first request, and use this to get the next page of results.
31
+
# The cursor returned by the API. Leave this blank for the first request and use this to get the next page of results.
32
32
# @option options [integer] :limit
33
33
# Number of results to return, up to a max of 20. Defaults to 20.
34
34
# @option options [enum] :sort
@@ -40,7 +40,9 @@ module AssistantSearch
40
40
# @option options [boolean] :highlight
41
41
# Whether to highlight the search query in the results. Defaults to false if unspecified.
42
42
# @option options [array] :term_clauses
43
-
# 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).
43
+
# 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).
44
+
# @option options [string] :modifiers
45
+
# 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.
# This field represents the timestamp of the draft's last update at the time this API is called. If the current message is a draft, this field can be provided to ensure synchronization with the server.
145
147
# @option options [string] :icon_emoji
146
148
# Emoji to use as the icon for this message. Overrides icon_url.
Copy file name to clipboardExpand all lines: lib/slack/web/api/endpoints/oauth_v2.rb
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ module OauthV2
15
15
# Issued when you created your application. If possible, avoid sending client_id and client_secret as parameters in your request and instead supply the Client ID and Client Secret using the HTTP Basic authentication scheme.
16
16
# @option options [string] :code
17
17
# The code param returned via the OAuth callback.
18
+
# @option options [string] :code_verifier
19
+
# The code_verifier param used to generate the code_challenge originally. Used for PKCE.
18
20
# @option options [string] :redirect_uri
19
21
# This must match the originally submitted URI (if one was sent).
0 commit comments