Hello A, My name is Indhurani, I’ll be happy to help you today.
Unfortunately, it is not possible to recover deleted chats in Teams. Deleted chat or channel messages cannot be restored directly. If you have a compliance retention policy or legal hold in place for Teams messages, an administrator can recover these from the Compliance center via eDiscovery search. If compliance hasn’t been enabled, the deleted messages are gone forever!
Security and compliance in Microsoft Teams: https://learn.microsoft.com/en-us/microsoftteam...
Files that are shared in a private or group chat are stored in the OneDrive for Business of the user who shared the file(in a folder called Microsoft Teams Chat Files), and is shared only with the people who are part of the conversation. Retention in OneDrive works similarly to how it works in SharePoint. The user who shared the file can restore it within 93 days from the date of deletion, by following the below steps:
Step 1: Navigate to the Files tab in Teams, select OneDrive, and click Open in OneDrive.
Step 2: In My files, open the folder Microsoft Teams Chat Files.
Step 3: Navigate to Recycle bin, select the files to be restored, and click Restore. If you cannot find a file in the first-stage Recycle Bin, click Second-stage recycle bin at the bottom of the page and restore it from there. (Requires admin access).
Beyond the 93-day retention period, deleted chat and channel files are permanently deleted and cannot be recovered, unless a compliance retention policy or legal hold is in place for these files. If compliance has been enabled for Teams files, an administrator can perform an eDiscovery search in the Compliance admin center to discover deleted items.
I hope it will be fixed. Please let me know if you still need further assistance.
Regards,
Indhurani