Skip to content

[Bug]: Updating/deleting messages is not clear #338

@jerbob92

Description

@jerbob92

Bug Description

When you want to update a message, instinctively you would use a MessageUpdateActivityInput. And for delete you would use MessageDeleteActivityInput and then pass them onto the send method.

However, this does not work, you have to create a MessageActivityInput and set the id for it to do updates, and for deletes you have to call the API:

await app.api.conversations.activities(conversation_reference.conversation.id).delete(conversation_reference.activity_id)

Steps to Reproduce

  1. Try to update message with MessageUpdateActivityInput or delete message with MessageDeleteActivityInput

Expected Behavior

An updated or delete message

Actual Behavior

HTTP errors

SDK Version

2.0.0a20

Python Version

3.14.2

Additional Context

Ideally, the send method would convert these into the right payload and call the correct API endpoints.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions