The Slack SDK version
3.36.0
Python runtime version
3.13
OS info
Debian Bookworm
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., pyproject.toml))
from slack_sdk.web.async_client import AsyncWebClient
client = AsyncWebClient()
await client.chat_update(
channel=channel,
thread_ts=thread_ts,
ts=ts,
markdown_text=text,
)
Expected result:
The message is sent without a warning.
Actual result:
The message is sent, but get the following:
UserWarning: The top-level `text` argument is missing in the request payload for a chat.update call - It's a best practice to always provide a `text` argument when posting a message. The `text` argument is used in places where content cannot be rendered such as: system push notifications, assistive technology such as screen readers, etc.
warnings.warn(missing_text_message, UserWarning)
Per the chat.update documentation, the markdown_text field should not be used with blocks or text, so the warning does not feel correct to me.
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The Slack SDK version
3.36.0
Python runtime version
3.13
OS info
Debian Bookworm
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., pyproject.toml))
Expected result:
The message is sent without a warning.
Actual result:
The message is sent, but get the following:
Per the
chat.updatedocumentation, themarkdown_textfield should not be used withblocksortext, so the warning does not feel correct to me.Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.