@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
16 lines • 580 B
TypeScript
/**
* ```js
* import { notificationTray } from '@amityco/ts-sdk-react-native'
* const updated = await notificationTray.markItemsSeen()
* ```
*
* Updates an {@link Amity.NotificationItemSeen}
*
* @param trayItems[] that include id and lastTraySeenAt, The ID of the {@link Amity.NotificationItemSeen} to edit
* @returns the updated {@link Amity.NotificationItemSeen} object
*
* @category NotificationItemSeen API
* @async
*/
export declare const markItemsSeen: (trayItems: Amity.QueryNotificationItemSeen[]) => Promise<void>;
//# sourceMappingURL=markItemsSeen.d.ts.map