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

Search Results for

    Improve this Doc

    Method BlockCommunity

    | Improve this Doc View Source

    BlockCommunity(BlockCommunityForm, CancellationToken)

    Blocks a community.

    Declaration
    public Task<BlockCommunityResponse> BlockCommunity(BlockCommunityForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    BlockCommunityForm form

    The form to send for blocking a community.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<BlockCommunityResponse>

    The task object representing the asynchronous operation. The task result contains the response after blocking a community.

    Implements
    ILemmyHttpClient.BlockCommunity(BlockCommunityForm, CancellationToken)
    © SlyCedix. All rights reserved.