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, andusername) to theassistant.threads.setStatusandchat.startStreamAPI methods. - We've added
highlight_typesupport to thefiles.completeUploadExternalandfilesUploadV2API methods. Thehighlight_typeparameter allows specifying the file type hint for uploads (e.g.,png,jpg, andgiffile 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
BlocksChunkmodel class to support the newblockschunk type for streaming API methods (chat.startStream,chat.appendStream, andchat.stopStream). Refer to New Block Kit blocks and Streaming API method updates for more details.
sdkpythonapiassistantchat
Source: original entry ↗