Skip to content

Commit bf5bb4b

Browse files
web-flowdblock
authored andcommitted
Update API from slack-api-ref@d797055 (2023-06-08)
1 parent 71e99d1 commit bf5bb4b

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* [#474](https://github.com/slack-ruby-client/pulls/474): Update API from [slack-api-ref@629967e](https://github.com/slack-ruby/slack-api-ref/commit/629967e) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
1111
* [#475](https://github.com/slack-ruby-client/pulls/475): Update API from [slack-api-ref@977dad5](https://github.com/slack-ruby/slack-api-ref/commit/977dad5) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
1212
* [#476](https://github.com/slack-ruby-client/pulls/476): Update API from [slack-api-ref@d0b2989](https://github.com/slack-ruby/slack-api-ref/commit/d0b2989) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
13+
* [#478](https://github.com/slack-ruby-client/pulls/478): Update API from [slack-api-ref@d797055](https://github.com/slack-ruby/slack-api-ref/commit/d797055) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
1314
* Your contribution here.
1415

1516
### 2.1.0 (2023/03/17)

bin/commands/calls.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class App
1212
c.flag 'external_unique_id', desc: 'An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service.'
1313
c.flag 'join_url', desc: 'The URL required for a client to join the Call.'
1414
c.flag 'created_by', desc: 'The valid Slack user ID of the user who created this Call. When this method is called with a user token, the created_by field is optional and defaults to the authed user of the token. Otherwise, the field is required.'
15-
c.flag 'date_start', desc: 'Call start time in UTC UNIX timestamp format.'
15+
c.flag 'date_start', desc: 'Unix timestamp of the call start time.'
1616
c.flag 'desktop_app_join_url', desc: 'When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.'
1717
c.flag 'external_display_id', desc: 'An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object.'
1818
c.flag 'title', desc: 'The name of the Call.'

bin/commands/chat_scheduledMessages.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class App
1111
g.command 'list' do |c|
1212
c.flag 'channel', desc: 'The channel of the scheduled messages.'
1313
c.flag 'cursor', desc: 'For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.'
14-
c.flag 'latest', desc: 'A UNIX timestamp of the latest value in the time range.'
14+
c.flag 'latest', desc: 'A Unix timestamp of the latest value in the time range.'
1515
c.flag 'limit', desc: 'Maximum number of original entries to return.'
16-
c.flag 'oldest', desc: 'A UNIX timestamp of the oldest value in the time range.'
16+
c.flag 'oldest', desc: 'A Unix timestamp of the oldest value in the time range.'
1717
c.flag 'team_id', desc: 'encoded team id to list channels in, required if org token is used.'
1818
c.action do |_global_options, options, _args|
1919
puts JSON.dump(@client.chat_scheduledMessages_list(options))

lib/slack/web/api/endpoints/calls.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module Calls
1616
# @option options [string] :created_by
1717
# The valid Slack user ID of the user who created this Call. When this method is called with a user token, the created_by field is optional and defaults to the authed user of the token. Otherwise, the field is required.
1818
# @option options [integer] :date_start
19-
# Call start time in UTC UNIX timestamp format.
19+
# Unix timestamp of the call start time.
2020
# @option options [string] :desktop_app_join_url
2121
# When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.
2222
# @option options [string] :external_display_id

lib/slack/web/api/endpoints/chat_scheduledMessages.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ module ChatScheduledmessages
1414
# @option options [string] :cursor
1515
# For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.
1616
# @option options [timestamp] :latest
17-
# A UNIX timestamp of the latest value in the time range.
17+
# A Unix timestamp of the latest value in the time range.
1818
# @option options [integer] :limit
1919
# Maximum number of original entries to return.
2020
# @option options [timestamp] :oldest
21-
# A UNIX timestamp of the oldest value in the time range.
21+
# A Unix timestamp of the oldest value in the time range.
2222
# @option options [string] :team_id
2323
# encoded team id to list channels in, required if org token is used.
2424
# @see https://api.slack.com/methods/chat.scheduledMessages.list

lib/slack/web/api/errors.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class CannotMoveLocalChannel < SlackError; end
7878
class CannotParse < SlackError; end
7979
class CannotParseAttachment < SlackError; end
8080
class CannotPrompt < SlackError; end
81+
class CannotReplyToMessage < SlackError; end
8182
class CannotResetBot < SlackError; end
8283
class CannotResetPrimaryOwner < SlackError; end
8384
class CannotResolveAlias < SlackError; end
@@ -678,6 +679,7 @@ class WorkflowsExportCsvNotEnabled < SlackError; end
678679
'cannot_parse' => CannotParse,
679680
'cannot_parse_attachment' => CannotParseAttachment,
680681
'cannot_prompt' => CannotPrompt,
682+
'cannot_reply_to_message' => CannotReplyToMessage,
681683
'cannot_reset_bot' => CannotResetBot,
682684
'cannot_reset_primary_owner' => CannotResetPrimaryOwner,
683685
'cannot_resolve_alias' => CannotResolveAlias,

0 commit comments

Comments
 (0)