This could be extended slightly to get usernames, I believe.
When you're added to a group with a person in it who's not in your contacts, their messages have the name linked to their account in the corner.
When you're added to a group with a person in it who's not in your contacts, their messages have the name linked to their account in the corner.
Or is it sent by the client itself?