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

Search Results for

    Improve this Doc

    Method FollowCommunity

    | Improve this Doc View Source

    FollowCommunity(FollowCommunityForm, CancellationToken)

    Follows a community.

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

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

    Implements
    ILemmyHttpClient.FollowCommunity(FollowCommunityForm, CancellationToken)
    © SlyCedix. All rights reserved.