fix(web-api): type Slack Lists message fieldFix Slack Lists message field response type responses#2621
fix(web-api): type Slack Lists message fieldFix Slack Lists message field response type responses#2621cxdmnls wants to merge 4 commits into
Conversation
|
Thanks for the contribution! Unfortunately we can't verify the commit author(s): 常侯鑫 <3***@q***.com>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, sign the Salesforce Inc. Contributor License Agreement and this Pull Request will be revalidated. |
|
| message: string[]; | ||
| message: SlackListsItemMessage | SlackListsItemMessage[]; |
There was a problem hiding this comment.
🐛 issue: This is breaking to the API input with an internal error shown in #2640
Summary
Fixes #2598.
This PR updates the Slack Lists
FieldMessage.messagetype to match the API response shape. The field can now be either a single message object or an array of message objects. A focusedtsdtype test was added to cover both response shapes.Requirements