As per Slack documentation it sends either state.values or view.state.values so both of these fields should be Optional so we don't fail do parse the payload if one of them is missing.
view.state.values is sent on interactions with blocks inside of modal.
state.values is sent on the interactions with blocks inside of the message.
As per Slack documentation it sends either
state.values
orview.state.values
so both of these fields should beOptional
so we don't fail do parse the payload if one of them is missing.view.state.values
is sent on interactions with blocks inside of modal.state.values
is sent on the interactions with blocks inside of the message.