chat_unfurl
Add custom unfurls to Slack messages by associating URLs with attachment or Block Kit objects. Control user authentication prompts and display custom content when links are shared.
Instructions
Provide custom unfurl behavior for URLs in messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ID of the channel containing the message with URLs to unfurl (e.g. ``C0123``). | |
| ts | Yes | Timestamp of the message containing the URLs (e.g. ``1700000000.000100``). | |
| unfurls | Yes | Map of URLs to their unfurl attachment or Block Kit objects (e.g. ``{"https://example.com": {...}}``). | |
| 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. | |
| user_auth_url | No | URL to redirect the user to for authentication when ``user_auth_required`` is True. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||