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

Search Results for

    Improve this Doc

    Method SavePost

    | Improve this Doc View Source

    SavePost(SavePostForm, CancellationToken)

    Saves a post.

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

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

    Implements
    ILemmyHttpClient.SavePost(SavePostForm, CancellationToken)
    © SlyCedix. All rights reserved.