stoiveyp / Slack.NetStandard

.NET Core package that helps with Slack interactions
MIT License
41 stars 16 forks source link

`UnfurlRequest` for `Chat.Unfurl` has incorrect input type for value of unfurls dictionary #63

Closed zzullick closed 2 years ago

zzullick commented 2 years ago

Hello again! I believe the type for the payload of the chat.unfurl method is incorrect. It specifies the unfurls array as a Dictionary<string,IMessageBlock[]> when it should be a Dictionary<string,MessageAttachment>. When using the type as-is it is rejected by Slack with an error invalid_unfurls_format.

Type in question

Useful links to same object in Slack's typescript WebAPI SDK

stoiveyp commented 2 years ago

Request signature has been updated in 3.13.0 and 3.14.0-beta1 👍