ownershipsByUserId

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

Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the 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.