Based on your post we understand that, when you open your Teams chat, other people show as yellow (clock), green (tick), (as per our below shared screenshot) and you wants to know about this. Given this situation, please check Alena Piper’s suggestion.
Further to learn more about Teams status, please refer the below article.