Json 松弛交互消息:创建;批准&&引用;拒绝“;作用
这是我第一次处理API和Webhook,昨天我花了很多时间试图弄明白这一点,我被卡住了。。所以我想我会在这里问。我正在使用Integramat创建一个场景,该场景涉及使用Integramat中的“slack:makeaAPI调用”模块通过一条交互消息将信息传递到slack通道,以获得批准或拒绝 下面是我的信息在便裤里的样子 我的问题是:Json 松弛交互消息:创建;批准&&引用;拒绝“;作用,json,slack,slack-api,integromat,Json,Slack,Slack Api,Integromat,这是我第一次处理API和Webhook,昨天我花了很多时间试图弄明白这一点,我被卡住了。。所以我想我会在这里问。我正在使用Integramat创建一个场景,该场景涉及使用Integramat中的“slack:makeaAPI调用”模块通过一条交互消息将信息传递到slack通道,以获得批准或拒绝 下面是我的信息在便裤里的样子 我的问题是: 如果我手动粘贴https://www.apple.com/iphone-12-pro/URL进入松弛通道,它将显示URL的预览。。我如何在我的互动消息中实现同
https://www.apple.com/iphone-12-pro/
URL进入松弛通道,它将显示URL的预览。。我如何在我的互动消息中实现同样的预览批准
或拒绝
将打开一个浏览器,它似乎已经过时,他们希望您使用Slack应用程序。。那么,如何在不打开浏览器的情况下执行Integrammat webhook呢批准
或拒绝
后,如何添加感谢信息?与此处显示的内容类似:{
"attachments": [
{
"color": "#604bfa",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "## PREVIEW",
"emoji": true
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "<https://urltobeapprovedgoeshere.com|https://urltobeapprovedgoeshere.com"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Generated by:* Bob Smith"
}
]
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"emoji": true,
"text": "Approve"
},
"style": "primary",
"url": "https://hook.integromat.com/approve-webhook-goes-here",
"value": "contract_approve"
},
{
"type": "button",
"text": {
"type": "plain_text",
"emoji": true,
"text": "Reject"
},
"style": "danger",
"url": "https://hook.integromat.com/reject-webhook-goes-here",
"value": "contract_reject"
}
]
}
]
}
]
}
{
“附件”:[
{
“颜色”:“#604bfa”,
“区块”:[
{
“类型”:“标题”,
“文本”:{
“类型”:“纯文本”,
“文本”:“预览”,
“表情符号”:真的吗
}
},
{
“类型”:“节”,
“字段”:[
{
“类型”:“mrkdwn”,
“文本”: