Skip to content

Address Slack SDK warning #7

@mfitz

Description

@mfitz

When posting messages via the Slack API, the slack-sdk gives this warning:

UserWarning: The top-level `text` argument is missing in the request payload for a chat.postMessage 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions