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

Search Results for

    Improve this Doc

    Method GetBannedPersons

    | Improve this Doc View Source

    GetBannedPersons(GetBannedPersonsForm, CancellationToken)

    Gets the list of banned persons.

    Declaration
    public Task<BannedPersonsResponse> GetBannedPersons(GetBannedPersonsForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    GetBannedPersonsForm form

    The form to send for retrieving the list of banned persons.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<BannedPersonsResponse>

    The task object representing the asynchronous operation. The task result contains the response with the list of banned persons.

    Implements
    ILemmyHttpClient.GetBannedPersons(GetBannedPersonsForm, CancellationToken)
    © SlyCedix. All rights reserved.