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

Search Results for

    Improve this Doc

    Method CreateComment

    | Improve this Doc View Source

    CreateComment(CreateCommentForm, CancellationToken)

    Creates a new comment.

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

    The form to send for creating 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 creating a comment. CommentResponse

    Implements
    ILemmyHttpClient.CreateComment(CreateCommentForm, CancellationToken)
    © SlyCedix. All rights reserved.