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

Search Results for

    Improve this Doc

    Method EditPost

    | Improve this Doc View Source

    EditPost(EditPostForm, CancellationToken)

    Edits a post.

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

    The form to send for editing a post.

    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 editing the post.

    Implements
    ILemmyHttpClient.EditPost(EditPostForm, CancellationToken)
    © SlyCedix. All rights reserved.