async def update_message(
            id: UUID = Path(
                ..., description="The unique identifier of the conversation"
            ),
            message_id: UUID = Path(
                ..., description="The ID of the message to update"
            ),
            content: Optional[str] = Body(
                None, description="The new content for the message"
            ),
            metadata: Optional[dict[str, str]] = Body(
                None, description="Additional metadata for the message"
            ),
            auth_user=Depends(self.providers.auth.auth_wrapper()),
        ) -> WrappedMessageResponse:
            """Update an existing message in a conversation.

            This endpoint updates the content of an existing message in a
            conversation.
            """
            return await self.services.management.edit_message(  # type: ignore
                message_id=message_id,
                new_content=content,
                additional_metadata=metadata,
            )
Update an existing message in a conversation.

            This endpoint updates the content of an existing message in a
            conversation.
            
py/core/main/api/v3/conversations_router.py