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.63k stars 1.12k forks source link

chore: Adding Deprecation Notice for files.upload #1300

Closed lorenzoaiello closed 1 month ago

lorenzoaiello commented 1 month ago

This pull request adds a deprecation notice for files.upload and addresses #1287.

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.

Reference: https://api.slack.com/methods/files.upload#markdown