Added function to get groupchat type.