通过api将消息发布到松弛状态时,legacy api具有author_title和author_icon
我如何格式化newer layout block style的json格式,以将图像放置在某些文本旁边?
我尝试了图像和节块,但该节在图像下方而不是在右侧。
{
"channel": "111122222",
"blocks": [
{"type": "image",
"block_id": "image4",
"image_url": "http://placekitten.com/20/20",
"alt_text": "Author Icon"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "<http://example.com|Author Name>"
}
}
]
}