Lemmy .NET API Lemmy .NET API
Lemmy .NET API Lemmy .NET API

Search Results for

    Improve this Doc

    Method GetUnreadCount

    | Improve this Doc View Source

    GetUnreadCount(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.

    © SlyCedix. All rights reserved.