Reports

public struct Reports

Undocumented

  • Fetches a user’s reports.

    Declaration

    Swift

    public static func all() -> Request<[Report]>

    Return Value

    Request for [Report].

  • Reports a user.

    Declaration

    Swift

    public static func report(accountID: String, statusIDs: [String], reason: String) -> Request<Report>

    Parameters

    accountID

    The ID of the account to report.

    statusIDs

    The IDs of statuses to report.

    reason

    A comment to associate with the report.

    Return Value

    Request for Report.