namespace static
nexus.user. notifications
Source: src/
Methods
async static
deleteManyByTopic(params) → Promise containing ApiResponse
deletes all user notifications by topic
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
async static
putAll(params) → Promise containing ApiResponse
adds a user notification to all users
Parameters
Name | Type | Optional | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
async static
remove(params) → Promise containing ApiResponse
removes a notification
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse