-
Notifications
You must be signed in to change notification settings - Fork 19
[Bug]: Updating/deleting messages is not clear #338
Copy link
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Try to update message with
MessageUpdateActivityInputor delete message withMessageDeleteActivityInput
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working