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

Search Results for

    Improve this Doc

    Method LikeComment

    | Improve this Doc View Source

    LikeComment(LikeCommentForm, CancellationToken)

    Likes a comment.

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

    The form to send for liking 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 liking the comment.

    Implements
    ILemmyHttpClient.LikeComment(LikeCommentForm, CancellationToken)
    © SlyCedix. All rights reserved.