chat_unfurl
Replace default URL previews in Slack messages with custom attachments or Block Kit layouts. Supports optional user authentication for secure unfurls.
Instructions
Provide custom unfurl behavior for URLs in messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | Yes | Timestamp of the message containing the URLs (e.g. ``1700000000.000100``). | |
| channel | Yes | ID of the channel containing the message with URLs to unfurl (e.g. ``C0123``). | |
| unfurls | Yes | Map of URLs to their unfurl attachment or Block Kit objects (e.g. ``{"https://example.com": {...}}``). | |
| user_auth_url | No | URL to redirect the user to for authentication when ``user_auth_required`` is True. | |
| user_auth_blocks | No | Block Kit blocks shown to the user in an auth prompt when ``user_auth_required`` is True. | |
| user_auth_message | No | Plain-text message shown to the user in an auth prompt when ``user_auth_required`` is True. | |
| user_auth_required | No | Prompt the user to authenticate before unfurling the URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||