slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42
https://pkg.go.dev/github.com/slack-go/slack
BSD 2-Clause "Simplified" License
4.6k stars 1.11k forks source link

file_input feature support in slack-go #1268

Closed devlife20 closed 3 months ago

devlife20 commented 4 months ago

it seems slack-go doesn't have the file_input feature, which is talked about in the Slack API docs https://api.slack.com/reference/block-kit/block-elements#file_input. I'm trying to build a Slack bot that allows file uploads. Is this feature supported, or are there plans to implement it in the future?

parsley42 commented 4 months ago

The Slack Go library is maintained by volunteers, and currently there's nobody putting much time into it except for fairly trivial updates. If you create a PR and it doesn't include breaking changes, I can probably have a look at it.

0xArch3r commented 3 months ago

this file input block is currently in this repo, i used it recently.

https://github.com/slack-go/slack/blob/d2493facbd56df23ea8d633fe1bf9c4c4c80d77f/block_element.go#L650