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

Search Results for

    Improve this Doc

    Method BlockPerson

    | Improve this Doc View Source

    BlockPerson(BlockPersonForm, CancellationToken)

    Blocks a person.

    Declaration
    public Task<BlockPersonResponse> BlockPerson(BlockPersonForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    BlockPersonForm form

    The form to send for blocking a person.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<BlockPersonResponse>

    The task object representing the asynchronous operation. The task result contains the response after blocking a person.

    Implements
    ILemmyHttpClient.BlockPerson(BlockPersonForm, CancellationToken)
    © SlyCedix. All rights reserved.