send

abstract infix suspend fun send(notificationMessage: NotificationMessage): PublishingTargetStrategy

DSL entry point to send the given notificationMessage to users. The client is expected to chain this with one of the PublishingTargetStrategy's method to specify who will receive the notification.

Return

a PublishingTargetStrategy to specify the target of the notification message.


abstract suspend fun send(message: NotificationMessage, userIds: Set<UserId>)

Sends the given message to the specified userIds.