Create a MessageGroup instance based on the provided groupId
and with the messages for the group.
In addition the creating timestamp and complete flag may be used to customize
the target MessageGroup object.
messages - the messages for the group.
groupId - the group id to use.
timestamp - the creation time.
complete - the boolean flag to indicate that group is completed.