Update Message
This update_message
method allows you to update the metadata.
Currently only metadata can be updated.
import taskingai
updated_message = taskingai.assistant.update_message(
assistant_id="YOUR_ASSISTANT_ID",
chat_id="YOUR_CHAT_ID",
message_id="YOUR_MESSAGE_ID",
metadata={"key": "value"}
)
The method returns the updated message object reflecting the changes made.