slack icon indicating copy to clipboard operation
slack copied to clipboard

file_input feature support in slack-go

Open devlife20 opened this issue 1 year ago • 2 comments

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?

devlife20 avatar Feb 23 '24 13:02 devlife20

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.

parsley42 avatar Feb 23 '24 14:02 parsley42

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

0xArch3r avatar Apr 03 '24 00:04 0xArch3r