public/helper/Get-TwitterMutes_Users_List.ps1

function Get-TwitterMutes_Users_List {

<#
.SYNOPSIS
    Mute, block and report users
 
.DESCRIPTION
    GET mutes/users/list
     
    Returns an array of user objects the authenticating user has muted.
 
.PARAMETER cursor
    Causes the list of IDs to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out. If no cursor is provided, a value of -1 will be assumed, which is the first "page."
The response from the API will include a previous_cursor and next_cursor to allow paging back and forth. See Using cursors to navigate collections for more information.
 
.PARAMETER include_entities
    The entities node will not be included when set to false .
 
.PARAMETER skip_status
    When set to either true , t or 1 statuses will not be included in the returned user objects.
 
.NOTES
    This helper function was generated by the information provided here:
    https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-list
 
#>

    [CmdletBinding()]
    Param(
        [string]$cursor,
        [string]$include_entities,
        [string]$skip_status
    )
    Begin {

        [string]$Method      = 'GET'
        [string]$Resource    = '/mutes/users/list'
        [string]$ResourceUrl = 'https://api.twitter.com/1.1/mutes/users/list.json'

        [hashtable]$Parameters = $PSBoundParameters
                   $CmdletBindingParameters | ForEach-Object { $Parameters.Remove($_) }

    }
    Process {

        If (-Not $OAuthSettings) { $OAuthSettings = Get-TwitterOAuthSettings -Resource $Resource }
        Invoke-TwitterAPI -Method $Method -ResourceUrl $ResourceUrl -Resource $Resource -Parameters $Parameters -OAuthSettings $OAuthSettings

    }
    End {

    }
}