Skip to content

chat_update fails to update block messages to text messages #523

Description

@bentheye

Description

The chat_update method fails to update messages that use blocks when text is used for the update. This happens despite the request response having "ok": True.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

slackclient version: 2.2.0

python version: 3.7

OS version(s): macOS 10.14.6

Steps to reproduce:

  1. Use chat_postMessage to post a message with blocks instead of text
  2. Try to update it with chat_update using text instead of blocks

Expected result:

The message should update

Actual result:

Nothing happens (but ok is received in response)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions