Method GetUnreadCount
| Improve this Doc View SourceGetUnreadCount(GetUnreadCountForm, CancellationToken)
Gets the count of unread messages.
Declaration
Task<GetUnreadCountResponse> GetUnreadCount(GetUnreadCountForm form, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUnreadCountForm | form | The form to send for retrieving the unread count. |
| CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
| Type | Description |
|---|---|
| Task<GetUnreadCountResponse> | The task object representing the asynchronous operation. The task result contains the response with the retrieved unread count. |