views_update | R Documentation |
Update a view by passing a new view definition object along with the view_id returned in views.open or the external_id. See the modals documentation to learn more about updating views and avoiding race conditions with the hash argument.
views_update( token = Sys.getenv("SLACK_TOKEN"), view, external_id = NULL, hash = NULL, view_id = NULL, return_response = F )
token |
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. |
view |
A |
external_id |
A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either view_id or external_id is required. |
hash |
A string that represents view state to protect against possible race conditions. |
view_id |
A unique identifier of the view to be updated. Either view_id or external_id is required. |
return_response |
Whether or not to return the API call response as opposed to the response body. Defaults to FALSE (return response body) |
A Success Response with the Updated payload.
https://api.slack.com/methods/views.update
Other Views:
view_object()
,
views_open()
,
views_publish()
,
views_push()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.