We are currently developing an activity plugin to match students for groups.
When we already have the groups we would like that the students can communicate with each other, creating a group chat (our preferred option) or a forum.
Is it possible to do this? So each group has a different chat.
We know that we can make dependencies with other plugins (https://docs.moodle.org/dev/version.php) but we don't know if we can make a moodle chat inside of our plugin. With the message API, we've learned to send messages to the users but it's not exactly what we want.
We could create our own chat but it doesn't seem the best option we would like that the plugin has a good integration with moodle.