Module: Slack::Web::Api::Endpoints::CallsParticipants
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/calls_participants.rb
Instance Method Summary collapse
-
#calls_participants_add(options = {}) ⇒ Object
Registers new participants added to a Call.
-
#calls_participants_remove(options = {}) ⇒ Object
Registers participants removed from a Call.
Instance Method Details
#calls_participants_add(options = {}) ⇒ Object
Registers new participants added to a Call.
18 19 20 21 22 |
# File 'lib/slack/web/api/endpoints/calls_participants.rb', line 18 def calls_participants_add( = {}) throw ArgumentError.new('Required arguments :id missing') if [:id].nil? throw ArgumentError.new('Required arguments :users missing') if [:users].nil? post('calls.participants.add', ) end |
#calls_participants_remove(options = {}) ⇒ Object
Registers participants removed from a Call.
33 34 35 36 37 |
# File 'lib/slack/web/api/endpoints/calls_participants.rb', line 33 def calls_participants_remove( = {}) throw ArgumentError.new('Required arguments :id missing') if [:id].nil? throw ArgumentError.new('Required arguments :users missing') if [:users].nil? post('calls.participants.remove', ) end |