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

files.upload is getting deprecated by Slack #1287

Open DestroyerAlpha opened 2 months ago

DestroyerAlpha commented 2 months ago

Description

Check if we are using slack's file.upload API and migrate to newly suggested API for uploading files in slack.

(Optional) Slack's documentation

https://api.slack.com/methods/files.upload files.upload is deprecated and will stop functioning on March 11, 2025. Use files.getUploadURLExternal and files.completeUploadExternal to upload files instead. Newly created apps will be unable to use files.upload beginning May 8, 2024. See Uploading files for more details on the process and this changelog for more on the deprecation.