deno-slack-api icon indicating copy to clipboard operation
deno-slack-api copied to clipboard

[FEATURE] Add `files.uploadV2` like the other Slack SDKs have

Open filmaj opened this issue 2 years ago • 2 comments

See https://slack.dev/node-slack-sdk/web-api#upload-a-file for docs on how this method works from a user perspective.

Here is the code from the node-slack-sdk for this method: https://github.com/slackapi/node-slack-sdk/blob/main/packages/web-api/src/file-upload.ts

@seratch has example code for deno-slack-sdk-based apps that use the above approach, more or less, that we could probably lift from: https://github.com/seratch/slack-timesheet/blob/412d9899c839fe24531a097ab0f1f68eb0513d2a/functions/internals/reports.ts#L549-L590

filmaj avatar Dec 07 '23 14:12 filmaj

Hi @filmaj I implemented fileUploadV2 method in base-client and created merge request.

taiga533 avatar Dec 15 '23 13:12 taiga533