Put group chat functions in the public API.

Group chats are not complete, they seem to work very well though.

This means that the functions will change.