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

Search Results for

    Improve this Doc

    Method MarkPrivateMessageAsRead

    | Improve this Doc View Source

    MarkPrivateMessageAsRead(MarkPrivateMessageAsReadForm, CancellationToken)

    Marks a private message as read.

    Declaration
    public Task<PrivateMessageResponse> MarkPrivateMessageAsRead(MarkPrivateMessageAsReadForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    MarkPrivateMessageAsReadForm form

    The form to send for marking a private message as read.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<PrivateMessageResponse>

    The task object representing the asynchronous operation. The task result contains the response after marking the private message as read.

    Implements
    ILemmyHttpClient.MarkPrivateMessageAsRead(MarkPrivateMessageAsReadForm, CancellationToken)
    © SlyCedix. All rights reserved.