Hi @IBN
Please check if your organization has set the retention policy for Teams chat. Retention policies are created by your organization. They manage how long data is stored in the Microsoft apps you use. In Teams, these policies decide how long messages show in a chat or channel. For more details about how to check it, you could refer to this part.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.