slackのweb api経由のchat.postMessageでattachmentsが送れない
JSON.stringifyする必要があった。
NG
"attachments": [{ "text": "hoge" }]
OK
"attachments": JSON.stringify([{ "text": "hoge" }])
JSON.stringifyする必要があった。
NG
"attachments": [{ "text": "hoge" }]
OK
"attachments": JSON.stringify([{ "text": "hoge" }])