integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
3.07k stars 482 forks source link

Unfurl links without the Slack `@github` bot account being in the channel #1739

Open segevfiner opened 1 year ago

segevfiner commented 1 year ago

Is your feature request related to a problem? Please describe. The GitHub app for Slack currently requires the Slack @github bot account to be in the Slack channel (Including private DM channels, which make it quite inconvenient) for unfurling of links to private content to work. AFAIK this isn't actually required in Slack and I can see other apps unfurl private links without that requirement, e.g. ClickUp.

Describe the solution you'd like Unfurl links in channels without the Slack @github bot account being in the channel. See https://api.slack.com/reference/messaging/link-unfurling#authenticated_unfurls

Describe alternatives you've considered End up no seeing unfurls cause adding the @github bot account everywhere is annoying and not required by other apps for private link unfurls.

Additional context https://api.slack.com/reference/messaging/link-unfurling#authenticated_unfurls