memberships

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

Returns the lists the specified user has been added to. If user_id or screen_name are not provided, the memberships for the authenticating user are returned.

Twitter API reference

Receiver

Lists endpoint instance.

Return

CursorJsonObjectApiAction for CursorLists model.

Parameters

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.

filterToOwnedLists

When set to true , t or 1 , will return just lists the authenticating user owns, and the user represented by user_id or screen_name is a member of.

options

Optional. Custom parameters of this request.


Shorthand property to Lists.memberships.

See also