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

Search Results for

    Improve this Doc

    Method RemoveComment

    | Improve this Doc View Source

    RemoveComment(RemoveCommentForm, CancellationToken)

    Removes a comment.

    Declaration
    public Task<CommentResponse> RemoveComment(RemoveCommentForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    RemoveCommentForm form

    The form to send for removing a comment.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<CommentResponse>

    The task object representing the asynchronous operation. The task result contains the response after removing the comment.

    Implements
    ILemmyHttpClient.RemoveComment(RemoveCommentForm, CancellationToken)
    © SlyCedix. All rights reserved.