HubSpot / slack-client

An asynchronous HTTP client for Slack's web API
Apache License 2.0
115 stars 53 forks source link

Add view submission model with callback id #254

Closed zmarushchak-hs closed 2 years ago

zmarushchak-hs commented 2 years ago

Added model for View Submission payload. The existing model assumes that callbak id will never come, so null is always set for the callback id field. Not sure the reason for such implementation, but a callback id can be sent in view submission. I didn't want to change the existing model to return Optional for the callback id in order to not break exisying code.