How to get active chat list of a login account?

rt ,thanks!