@spacehq/sdk > UserStorage > getNotifications
UserStorage.getNotifications() method
Returns notifications for the user. If the notification is detected to be a supported type, it is enhanced with additional information stored in the relatedObject field.
Signature:
getNotifications(seek?: string, limit?: number): Promise<GetNotificationsResponse>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| seek | string | optional offset value for pagination. Can be gotten from the nextOffset field of a response |
| limit | number | optional limit value to return a specificed amount of results |
Returns:
Promise<GetNotificationsResponse>