import MarkNotificationStatus from '~/models/Request/MarkNotificationStatus.js'Constructor Summary
| Public Constructor | ||
| public |
constructor(notifications: Notification | NotificationMarkAllUnseen | Notification[] | NotificationCategory | NotificationGroup | string[], status: NotificationStatus) Marks the passed notifications as something (this is async constructor). |
|
Inherited Summary
| From class Request | ||
| protected |
|
|
| public |
cancel() Cancels the request. |
|
| public |
Formats the request object and returns an object of Request<T>'s T. |
|
| public |
Performs the request |
|
Public Constructors
public constructor(notifications: Notification | NotificationMarkAllUnseen | Notification[] | NotificationCategory | NotificationGroup | string[], status: NotificationStatus) source
Marks the passed notifications as something (this is async constructor).
Override:
Request#constructorParams:
| Name | Type | Attribute | Description |
| notifications | Notification | NotificationMarkAllUnseen | Notification[] | NotificationCategory | NotificationGroup | string[] | Some group of notifications. If you pass strings they must be the IDs |
|
| status | NotificationStatus |
