megachangelog
Feature3.42.0

Python Slack SDK v3.42.0 - Added authorship arguments to assistant and chat APIs

Added iconemoji, iconurl, and username authorship arguments to the assistant.threads.setStatus and chat.startStream API methods, enabling better control over message authorship in these methods.

  • We've added authorship arguments (icon_emoji, icon_url, and username) to the assistant.threads.setStatus and chat.startStream API methods.
  • We've added highlight_type support to the files.completeUploadExternal and filesUploadV2 API methods. The highlight_type parameter allows specifying the file type hint for uploads (e.g., png, jpg, and gif file types), enabling optimistic rendering before the async upload processing job completes.
  • We've added support for the following new Block Kit blocks: card block, carousel block, and alert block. All three include deserialization support via Block.parse(), exports in __init__.py, and round-trip tests.
  • We've added a new BlocksChunk model class to support the new blocks chunk type for streaming API methods (chat.startStream, chat.appendStream, and chat.stopStream). Refer to New Block Kit blocks and Streaming API method updates for more details.
sdkpythonapiassistantchat

Source: original entry ↗