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

Search Results for

    Improve this Doc

    Method AddModToCommunity

    | Improve this Doc View Source

    AddModToCommunity(AddModToCommunityForm, CancellationToken)

    Adds a moderator to a community.

    Declaration
    public Task<AddModToCommunityResponse> AddModToCommunity(AddModToCommunityForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    AddModToCommunityForm form

    The form to send for adding a moderator to a community.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<AddModToCommunityResponse>

    The task object representing the asynchronous operation. The task result contains the response after adding a moderator to a community.

    Implements
    ILemmyHttpClient.AddModToCommunity(AddModToCommunityForm, CancellationToken)
    © SlyCedix. All rights reserved.