Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@mvilanova
Copy link
Contributor

Changes

  • Updated the Slack file upload method from files_upload to files_upload_v2 in the SlackConversationPlugin class
  • Changed parameter name from channels to channel to match the new API requirements
  • Modified the channel value to use the conversation ID from signal_response.get("id") instead of using conversation_id
  • Added a comment explaining that we need the conversation ID, not the name
  • Removed the filetype="json" parameter as it's no longer needed in the v2 API

This change ensures compatibility with Slack's updated file upload API.

Screenshot 2025-03-03 at 2 27 54 PM

@mvilanova mvilanova added the enhancement New feature or request label Mar 3, 2025
@mvilanova mvilanova requested review from a team, aliciamatsumoto, milavent, security-hashira, whitdog47 and wssheldon and removed request for a team March 3, 2025 22:35
@mvilanova mvilanova merged commit 6e14e48 into main Mar 4, 2025
9 checks passed
@mvilanova mvilanova deleted the feat/file-upload-v2 branch March 4, 2025 03:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants