v4.0.22
·
9 commits
to v4
since this release
v4.0.22
Released: 2026-05-26
New
- Added support for CometChat Campaigns notification feeds through the new
NotificationFeedRequestBuilder, enabling paginated feed retrieval with filtering by read state, category, channel, tags, and date range. - Added the
NotificationCategoriesRequestBuilderAPI to fetch available notification categories for feed filtering and organization. - Introduced the
NotificationFeedItemandNotificationCategorymodels to provide structured access to notification feed data, including metadata, delivery status, timestamps, and categorization details. - Added the
PushNotificationmodel to provide typed access to push notification payload data, including campaign and announcement identifiers. - Introduced the
NotificationFeedListenerWebSocket listener for receiving real-time notification feed updates. - Added the
FeedReadStateenum withREAD,UNREAD, andALLvalues for filtering notification feed results. - Added the
addNotificationFeedListener()andremoveNotificationFeedListener()methods to register and manage real-time notification feed listeners. - Added the
markFeedItemAsDelivered(),markFeedItemsAsDelivered(), andmarkFeedItemAsRead()methods to manage notification feed delivery and read state tracking. - Added the
reportFeedEngagement()method to report notification engagement events using custom interaction strings. - Added the
getNotificationFeedUnreadCount()andgetNotificationFeedItem()methods to retrieve unread notification counts and fetch individual feed items. - Added the
markPushNotificationDelivered()andmarkPushNotificationClicked()methods to track push notification delivery and click events. - Added static access to
NotificationFeedRequestBuilder,NotificationCategoriesRequestBuilder,NotificationFeedItem,NotificationCategory,PushNotification,NotificationFeedListener, andFeedReadStatethrough theCometChatnamespace.
Enhancements
- None
Fixes
- None