MembershipCreated

The event when a user is added to a space.

Functions

Link copied to clipboard
open override fun getActorId(): String?

Returns the identifier of the user that caused the event to be sent. For example, for a messsage received event, the author of the message will be the actor. For a membership deleted event, the actor is the person who removed the user from space.

Link copied to clipboard
fun getMembership(): Membership?

Returns the created membership.