create

open fun create(groupId: GroupId, removedMember: User): RemovedMemberToGroup

Factory method to create an instance of RemovedMemberToGroup.

Return

a new instance of RemovedMemberToGroup

Parameters

groupId

the ID of the group

removedMember

the user who was removed from the group