NotificationApi
extends AbstractApi
in package
Send notifications
Table of Contents
Methods
- sendNotificationToProjectMembers() : mixed
- Send Notification To Project Members
- sendToAuthenticatedUser() : mixed
- Send Notification to Authenticated User
Methods
sendNotificationToProjectMembers()
Send Notification To Project Members
public
sendNotificationToProjectMembers(int $projectId, array<string|int, mixed> $data) : mixed
Parameters
- $projectId : int
- $data : array<string|int, mixed>
-
string $data[message] required
string $data[role] Enum: "owner" "manager"
integer[] $data[userIds]
Tags
sendToAuthenticatedUser()
Send Notification to Authenticated User
public
sendToAuthenticatedUser(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
string $data[message] required