Images/Attachments/Files in Salesforce Enhanced Conversation can be viewed from Files Related List on the Messaging Session Object/Entity.
So, add the Files Related List on the Messaging Session Object/Entity to view all the attachments attached during the Conversation.
![](https://www.infallibletechie.com/wp-content/uploads/2024/03/Salesforce-Enhanced-Conversation-Files-Related-List-on-the-Messaging-Session--1024x656.png)
From the Files Related list, the agents will be able to find all the files that were attached during their Messaging conversation.
SOQL Query:
SELECT Id, ContentDocument.Title, ContentDocument.ContentSize,
ContentDocument.FileType, LinkedEntityId, ContentDocumentId,
ContentDocument.LatestPublishedVersion.VersionNumber
FROM ContentDocumentLink
WHERE LinkedEntityId = '<MessagingSessionId>'