You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td>Accepts an ISO date string to filter notifications created after the specified date. By default, only the first 20 notifications will be fetched <br />
148
146
eg: 2024-02-19T06:37:33.792+00:00</td>
149
147
<td>string</td>
150
-
<td>false</td>
151
148
<td>null</td>
152
149
</tr>
153
150
<tr>
154
151
<td>end</td>
155
152
<td>Accepts an ISO date string to filter notifications created before the specified date. By default, only the first 20 notifications will be fetched <br />
156
153
eg: 2024-02-19T06:37:33.792+00:00</td>
157
154
<td>string</td>
158
-
<td>false</td>
159
155
<td>null</td>
160
156
</tr>
161
157
<tr>
162
158
<td>isRead</td>
163
159
<td>Filter to fetch read or unread notifications. If not specified, it retrieves both read and unread notifications</td>
164
160
<td>boolean</td>
165
-
<td>false</td>
161
+
<td>null</td>
162
+
</tr>
163
+
<tr>
164
+
<td>category</td>
165
+
<td>Filter to fetch notifications by category. If not specified, it retrieves all notifications</td>
By specifying the parameter eventType as either `NOTIFICATIONS` or `UNVIEWED_COUNT`, this method triggers the real-time retrieval of notifications or the count of unviewed notifications. If `NOTIFICATIONS` is selected, further parameters (`params`) can be provided for additional customization or filtering
Below are the accepted optional filters for`NOTIFICATIONS` event type
206
+
205
207
<table>
206
208
<thead>
207
209
<tr>
208
210
<th>Argument</th>
209
211
<th>Description</th>
210
212
<th>Type</th>
211
-
<th>Mandatory</th>
212
213
<th>Default</th>
213
214
</tr>
214
215
</thead>
@@ -217,35 +218,36 @@ Below are the accepted filters for notifications
217
218
<td>page</td>
218
219
<td>Represents the current page</td>
219
220
<td>number</td>
220
-
<td>false</td>
221
221
<td>0</td>
222
222
</tr>
223
223
<tr>
224
224
<td>size</td>
225
225
<td>The number of items to be fetched in a single call</td>
226
226
<td>number</td>
227
-
<td>false</td>
228
227
<td>10</td>
229
228
</tr>
230
229
<tr>
231
230
<td>start</td>
232
231
<td>Accepts an ISO date string to filter notifications created after the specified date. By default, only the first 20 notifications will be fetched </td>
233
232
<td>string</td>
234
-
<td>false</td>
235
233
<td>null</td>
236
234
</tr>
237
235
<tr>
238
236
<td>end</td>
239
237
<td>Accepts an ISO date string to filter notifications created before the specified date. By default, only the first 20 notifications will be fetched</td>
240
238
<td>string</td>
241
-
<td>false</td>
242
239
<td>null</td>
243
240
</tr>
244
241
<tr>
245
242
<td>isRead</td>
246
243
<td>Filter to fetch read or unread notifications. If not specified, it retrieves both read and unread notifications</td>
247
244
<td>number</td>
248
-
<td>false</td>
245
+
<td>null</td>
246
+
</tr>
247
+
<tr>
248
+
<td>category</td>
249
+
<td>Filter to fetch notifications by category. If not specified, it retrieves all notifications</td>
0 commit comments