Slack Developer Kit for Node.js
Go to GitHub

DialogFacet

Kind: global class

dialogFacet.open(dialog, triggerId, [optCb])

Opens a dialog corresponding to the trigger.

Kind: instance method of [DialogFacet](#DialogFacet)
See: dialog.open

Param Type Description
dialog ? The dialog definition, as a JSON-encoded string.
triggerId ? The trigger that this dialog opens in response to.
[optCb] function Optional callback, if not using promises.