1.Chat group is created with groupName and participants.
2.Participants can now see the group in their chat list view.
3.Participants are now subscribed to all the topics(i.e groupName) in chat list.
4.Whenever someone sends a message in the group the message is published to the groupName.