Nextcloud PHP API (master)

ICloudFederationNotification

Interface ICloudFederationNotification

Tags
since
14.0.0

Table of Contents

Methods

getMessage()  : array<string|int, mixed>
get message, ready to send out
setMessage()  : mixed
add a message to the notification

Methods

getMessage()

get message, ready to send out

public getMessage() : array<string|int, mixed>
Tags
since
14.0.0
Return values
array<string|int, mixed>

setMessage()

add a message to the notification

public setMessage(string $notificationType, string $resourceType, string $providerId, array<string|int, mixed> $notification) : mixed
Parameters
$notificationType : string

(e.g. SHARE_ACCEPTED)

$resourceType : string

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

$providerId : string

id of the share

$notification : array<string|int, mixed>

payload of the notification

Tags
since
14.0.0

        
On this page

Search results