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

Search Results for

    Improve this Doc

    Method RemoveCommunity

    | Improve this Doc View Source

    RemoveCommunity(RemoveCommunityForm, CancellationToken)

    Removes a community.

    Declaration
    public Task<CommunityResponse> RemoveCommunity(RemoveCommunityForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    RemoveCommunityForm form

    The form to send for removing a community.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<CommunityResponse>

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

    Implements
    ILemmyHttpClient.RemoveCommunity(RemoveCommunityForm, CancellationToken)
    © SlyCedix. All rights reserved.