module Slack::Web::Api::Endpoints::CallsParticipants
Public Instance Methods
calls_participants_add(options = {})
click to toggle source
Registers new participants added to a Call.
@option options [Object] :id
id returned by the calls.add method.
@option options [Object] :users
The list of users to add as participants in the Call. Read more on how to specify users here.
@see api.slack.com/methods/calls.participants.add @see github.com/slack-ruby/slack-api-ref/blob/master/methods/calls.participants/calls.participants.add.json
# File lib/slack/web/api/endpoints/calls_participants.rb, line 18 def calls_participants_add(options = {}) throw ArgumentError.new('Required arguments :id missing') if options[:id].nil? throw ArgumentError.new('Required arguments :users missing') if options[:users].nil? post('calls.participants.add', options) end
calls_participants_remove(options = {})
click to toggle source
Registers participants removed from a Call.
@option options [Object] :id
id returned by the calls.add method.
@option options [Object] :users
The list of users to remove as participants in the Call. Read more on how to specify users here.
@see api.slack.com/methods/calls.participants.remove @see github.com/slack-ruby/slack-api-ref/blob/master/methods/calls.participants/calls.participants.remove.json
# File lib/slack/web/api/endpoints/calls_participants.rb, line 33 def calls_participants_remove(options = {}) throw ArgumentError.new('Required arguments :id missing') if options[:id].nil? throw ArgumentError.new('Required arguments :users missing') if options[:users].nil? post('calls.participants.remove', options) end