Slack has message events for message.group, message.im and message.mpim.
As I understand it, im means it's a private message to one person, and mpim is a private messaging conversation with multiple people. A group is described as a private channel. So what's the difference between an mpim conversation, and a group then?