groupchat.erl : add some -type