Skip to content

Commit

Permalink
Update API from slack-api-ref@d797055 (2023-06-08)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored and dblock committed Jun 9, 2023
1 parent 71e99d1 commit bf5bb4b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* [#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).
* [#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).
* [#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).
* [#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).
* Your contribution here.

### 2.1.0 (2023/03/17)
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/calls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class App
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.'
c.flag 'join_url', desc: 'The URL required for a client to join the Call.'
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.'
c.flag 'date_start', desc: 'Call start time in UTC UNIX timestamp format.'
c.flag 'date_start', desc: 'Unix timestamp of the call start time.'
c.flag 'desktop_app_join_url', desc: 'When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.'
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.'
c.flag 'title', desc: 'The name of the Call.'
Expand Down
4 changes: 2 additions & 2 deletions bin/commands/chat_scheduledMessages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class App
g.command 'list' do |c|
c.flag 'channel', desc: 'The channel of the scheduled messages.'
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.'
c.flag 'latest', desc: 'A UNIX timestamp of the latest value in the time range.'
c.flag 'latest', desc: 'A Unix timestamp of the latest value in the time range.'
c.flag 'limit', desc: 'Maximum number of original entries to return.'
c.flag 'oldest', desc: 'A UNIX timestamp of the oldest value in the time range.'
c.flag 'oldest', desc: 'A Unix timestamp of the oldest value in the time range.'
c.flag 'team_id', desc: 'encoded team id to list channels in, required if org token is used.'
c.action do |_global_options, options, _args|
puts JSON.dump(@client.chat_scheduledMessages_list(options))
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/endpoints/calls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Calls
# @option options [string] :created_by
# 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.
# @option options [integer] :date_start
# Call start time in UTC UNIX timestamp format.
# Unix timestamp of the call start time.
# @option options [string] :desktop_app_join_url
# When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.
# @option options [string] :external_display_id
Expand Down
4 changes: 2 additions & 2 deletions lib/slack/web/api/endpoints/chat_scheduledMessages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ module ChatScheduledmessages
# @option options [string] :cursor
# 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.
# @option options [timestamp] :latest
# A UNIX timestamp of the latest value in the time range.
# A Unix timestamp of the latest value in the time range.
# @option options [integer] :limit
# Maximum number of original entries to return.
# @option options [timestamp] :oldest
# A UNIX timestamp of the oldest value in the time range.
# A Unix timestamp of the oldest value in the time range.
# @option options [string] :team_id
# encoded team id to list channels in, required if org token is used.
# @see https://api.slack.com/methods/chat.scheduledMessages.list
Expand Down
2 changes: 2 additions & 0 deletions lib/slack/web/api/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class CannotMoveLocalChannel < SlackError; end
class CannotParse < SlackError; end
class CannotParseAttachment < SlackError; end
class CannotPrompt < SlackError; end
class CannotReplyToMessage < SlackError; end
class CannotResetBot < SlackError; end
class CannotResetPrimaryOwner < SlackError; end
class CannotResolveAlias < SlackError; end
Expand Down Expand Up @@ -678,6 +679,7 @@ class WorkflowsExportCsvNotEnabled < SlackError; end
'cannot_parse' => CannotParse,
'cannot_parse_attachment' => CannotParseAttachment,
'cannot_prompt' => CannotPrompt,
'cannot_reply_to_message' => CannotReplyToMessage,
'cannot_reset_bot' => CannotResetBot,
'cannot_reset_primary_owner' => CannotResetPrimaryOwner,
'cannot_resolve_alias' => CannotResolveAlias,
Expand Down

0 comments on commit bf5bb4b

Please sign in to comment.