lib/slack/web/api/endpoints/calls_participants.rb in slack-ruby-client-0.17.0 vs lib/slack/web/api/endpoints/calls_participants.rb in slack-ruby-client-1.0.0
- old
+ new
@@ -7,13 +7,13 @@
module Endpoints
module CallsParticipants
#
# Registers new participants added to a Call.
#
- # @option options [Object] :id
+ # @option options [string] :id
# id returned by the calls.add method.
- # @option options [Object] :users
+ # @option options [array] :users
# The list of users to add as participants in the Call. Read more on how to specify users here.
# @see https://api.slack.com/methods/calls.participants.add
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/calls.participants/calls.participants.add.json
def calls_participants_add(options = {})
throw ArgumentError.new('Required arguments :id missing') if options[:id].nil?
@@ -22,12 +22,12 @@
end
#
# Registers participants removed from a Call.
#
- # @option options [Object] :id
+ # @option options [string] :id
# id returned by the calls.add method.
- # @option options [Object] :users
+ # @option options [array] :users
# The list of users to remove as participants in the Call. Read more on how to specify users here.
# @see https://api.slack.com/methods/calls.participants.remove
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/calls.participants/calls.participants.remove.json
def calls_participants_remove(options = {})
throw ArgumentError.new('Required arguments :id missing') if options[:id].nil?