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

Search Results for

    Improve this Doc

    Method GetCommunity

    | Improve this Doc View Source

    GetCommunity(GetCommunityForm, CancellationToken)

    Gets a community.

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

    The form to send for retrieving 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 with the retrieved community.

    Implements
    ILemmyHttpClient.GetCommunity(GetCommunityForm, CancellationToken)
    © SlyCedix. All rights reserved.