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

Search Results for

    Improve this Doc

    Method TransferCommunity

    | Improve this Doc View Source

    TransferCommunity(TransferCommunityForm, CancellationToken)

    Transfers a community to another moderator.

    Declaration
    public Task<GetCommunityResponse> TransferCommunity(TransferCommunityForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    TransferCommunityForm form

    The form to send for transferring a community.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<GetCommunityResponse>

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

    Implements
    ILemmyHttpClient.TransferCommunity(TransferCommunityForm, CancellationToken)
    © SlyCedix. All rights reserved.