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

Search Results for

    Improve this Doc

    Method MarkPostAsRead

    | Improve this Doc View Source

    MarkPostAsRead(MarkPostAsReadForm, CancellationToken)

    Marks a post as read.

    Declaration
    public Task<PostResponse> MarkPostAsRead(MarkPostAsReadForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    MarkPostAsReadForm form

    The form to send for marking a post as read.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<PostResponse>

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

    Implements
    ILemmyHttpClient.MarkPostAsRead(MarkPostAsReadForm, CancellationToken)
    © SlyCedix. All rights reserved.