views_open | R Documentation |
Open a modal with a user by exchanging a trigger_id received from another interaction. See the modals documentation to learn how to obtain triggers from interactive components.
views_open( token = Sys.getenv("SLACK_TOKEN"), trigger_id, view, return_response = F )
token |
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. |
trigger_id |
Exchange a trigger to post to the user. |
view |
A |
return_response |
Whether or not to return the API call response as opposed to the response body. Defaults to FALSE (return response body) |
A view_object
with status or an error message.
https://api.slack.com/methods/views.open
Other Views:
view_object()
,
views_publish()
,
views_push()
,
views_update()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.