subscriptionsByUserId

fun Lists.subscriptionsByUserId(    userId: Long,     count: Int? = null,     cursor: Long? = null,     vararg options: Option): CursorJsonObjectApiAction<CursorLists, TwitterList>

Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.

Twitter API reference

Receiver

Lists endpoint instance.

Return

CursorJsonObjectApiAction for CursorLists model.

Parameters

userId

The ID of the user for whom to return results. Helpful for disambiguating when a valid user ID is also a valid screen name.

count

The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.

cursor

Breaks the results into pages. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list. It is recommended to always use cursors when the method supports them. See Cursoring for more information.

options

Optional. Custom parameters of this request.