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

Why doesn't the getFile method return []body #1284

Open vorontsoved opened 2 months ago

vorontsoved commented 2 months ago

I wanted []byte to load the private url of the file into the getFiles method, but this method will not return anything, I don’t understand why or this is a bug? It might be worth adding a http download to this url to the method and getting []byte