slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42

Home Page:https://pkg.go.dev/github.com/slack-go/slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

file_input feature support in slack-go

devlife20 opened this issue · 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?

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.

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

func NewFileInputBlockElement(actionID string) *FileInputBlockElement {