如何使用 C# slack-adapter 从 Bot Framework Composer Bot 发送 BlockKit 附件?
我正在尝试在 .lg 中使用它,但到达 slack 客户端的唯一消息是:值不能为空。(参数'uriString')
# SendSlackResponse()
[Activity
Attachments = ${json(SlackMessage())}
]
# SlackMessage()
- ```
{
"type": "application/json",
"name": "blocks",
"content": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Hello, Assistant to the Regional Manager Dwight! *Michael Scott* wants to know where yo``u'd like to take the Paper Company investors to dinner tonight.\n\n *Please select a restaurant:*"
}
}
]
}
```