GroupCreated

interface GroupCreated : Event

Interface representing an event where a group is created.

Functions

Link copied to clipboard
open fun create(groupId: GroupId, createdBy: User): GroupCreated
Factory method to create an instance of GroupCreated.
Link copied to clipboard
abstract fun createdBy(): User
Gets the user who created the group.
Link copied to clipboard
abstract fun groupId(): GroupId
Gets the ID of the group.