After searching I found this solution is Place a Microsoft Teams user or team on legal hold
The private channel chats are stored in user mailboxes, normal channel chats are stored in a Team's group mailbox. so we can add the mailbox in-hold, this will allow the guest user to delete the chat but only soft-delete and this will not allow him to delete it permanently.
To put a user or a team on legal hold:
Most popular tags