Description
PublishViewContext() calls view.publish internally which has hash as an optional field as per the documentation. In the client we can have this as an optional field.
(Optional) Slack's documentation
https://api.slack.com/methods/views.publish#arg_hash