Nextcloud PHP API (stable18)

ICloudFederationNotification

Interface ICloudFederationNotification

Tags
since
14.0.0

Table of Contents

getMessage()  : array
get message, ready to send out
setMessage()  : mixed
add a message to the notification

Methods

setMessage()

add a message to the notification

public setMessage(string $notificationType, string $resourceType,  $providerId, array $notification) : mixed
Parameters
$notificationType : string

(e.g. SHARE_ACCEPTED)

$resourceType : string

(e.g. file, calendar, contact,...)

$providerId :

of the share

$notification : array

, payload of the notification

Tags
since
14.0.0
Return values
mixed

Search results