Class ListRequests

Collection of requests related to lists.

Constructors

Methods

  • Parameters

    • listId: string

      The ID of the target list.

    • userId: string

      The ID of the user to be added as a member.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the list whose details are to be fetched.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the list whose members are to be fetched.

    • Optionalcount: number

      The number of members to fetch. Must be <= 100.

    • Optionalcursor: string

      The cursor to the batch of members to fetch.

    Returns AxiosRequestConfig

  • Parameters

    • listId: string

      The ID of the target list.

    • userId: string

      The ID of the user to remove as a member.

    Returns AxiosRequestConfig

  • Parameters

    • id: string

      The id of the list whose tweets are to be fetched.

    • Optionalcount: number

      The number of tweets to fetch. Must be <= 100.

    • Optionalcursor: string

      The cursor to the batch of tweets to fetch.

    Returns AxiosRequestConfig