create

open fun create(groupId: GroupId, addedMember: User): AddedMemberToGroup

Factory method to create an instance of AddedMemberToGroup.

Return

a new instance of AddedMemberToGroup

Parameters

groupId

the ID of the group

addedMember

the user who was added to the group