of

open fun of(referenceUser: UserId, sender: UserId, message: NotificationMessage): CoMembersPushNotification

Factory method to create a new instance of CoMembersPushNotification.

Return

a new instance of CoMembersPushNotification.

Parameters

referenceUser

the UserId whose co-members will receive the notification.

sender

the UserId of the notification sender.

message

the NotificationMessage to be sent.