Skip to content

Clarify about chat.update only work with channels and not DMs #395

@nahuelhds

Description

@nahuelhds

Hi! Was trying the example for updating a message and two things that happened.

The action succeed but no update happen. First of all, the action itself was failing, actually with message_not_found error but the action reports success anyway.

See the following image
Image

You can see the last three lines

##[debug]Set output response = {"ok":false,"error":"message_not_found","response_metadata":{"scopes":["incoming-webhook","chat:write"],"acceptedScopes":["chat:write"]}}
##[debug]Set output time = 1738447171
##[debug]Finishing: Update the original message with success

Ok = False, but "Update the original message with sucess" (?

Doing some more research, I learned that my issue was that I was trying to post to a private message and this only works with channels. I'd be nice to warn about this in the docs :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions