Reputation: 2644
I'm using Slack's chat.unfurl
API to send unfurls
object with following structure:
{
"https://example.com": {
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "How Is the User Identified?"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "# Authentication\n\n## How Does a User Log In to the App?\n\n* **Email & Password Form:**\n * Utilizes standard Devise implementation.\n * Devise configuration can be found in ..."
}
}
]
}
}
This ends up looking in Slack's composer window like this:
This is not quite what I'm looking for. First of all, almost half of the box is taken up by my Slack app's name which is useless. Second, I don't like this "box" look, is there a way to get something closer to Slack's default unfurl? I'd like to show way more content from my markdown block.
I could not find the correct structure of the blocks. At least, I'd like to replace the app's name with my "header" block.
Upvotes: -1
Views: 9