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

Search Results for

    Improve this Doc

    Method FeaturePost

    | Improve this Doc View Source

    FeaturePost(FeaturePostForm, CancellationToken)

    Features a post.

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

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

    Implements
    ILemmyHttpClient.FeaturePost(FeaturePostForm, CancellationToken)
    © SlyCedix. All rights reserved.