views.push
method
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Usage info
Push a new view onto the existing view stack by passing a view object and a valid trigger_id
generated from an interaction within the existing modal. The pushed view is added to the top of the stack, so the user will go back to the previous view after they complete or cancel the pushed view.
After a modal is opened, the app is limited to pushing 2 additional views.
Read the modals documentation to learn more about the lifecycle and intricacies of views.
Response
If you pass a valid view object along with a valid trigger_id
, you'll receive a success response with the view object that was pushed to the stack.