Is there a way to find members who have not send any messages in a timeframe from a chatroom?

Hi, Is there a way to find members from a chatroom who have not sent any messages in a given time frame e.g a day/week?