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

Search Results for

    Improve this Doc

    Method DeletePost

    | Improve this Doc View Source

    DeletePost(DeletePostForm, CancellationToken)

    Deletes a post.

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

    The form to send for deleting 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 deleting the post.

    Implements
    ILemmyHttpClient.DeletePost(DeletePostForm, CancellationToken)
    © SlyCedix. All rights reserved.