Module: Slack::Endpoint::Dialog
- Included in:
- Slack::Endpoint
- Defined in:
- lib/slack/endpoint/dialog.rb
Instance Method Summary collapse
-
#dialog_open(options = {}) ⇒ Object
Open a dialog with a user.
Instance Method Details
#dialog_open(options = {}) ⇒ Object
Open a dialog with a user
16 17 18 19 20 |
# File 'lib/slack/endpoint/dialog.rb', line 16 def dialog_open(={}) throw ArgumentError.new("Required arguments :dialog missing") if [:dialog].nil? throw ArgumentError.new("Required arguments :trigger_id missing") if [:trigger_id].nil? post("dialog.open", ) end |