listByUserId

fun Collections.listByUserId(    userId: Long,     tweetId: Long? = null,     count: Int? = null,     cursor: String? = null,     vararg options: Option): JsonObjectApiAction<Collection.List>

Find Collections created by a specific user or containing a specific curated Tweet. Results are organized in a cursored collection.

Twitter API reference

Receiver

Collections endpoint instance.

Return

JsonObjectApiAction for Collection.List model.

Parameters

userId

The ID of the user for whom to return results.

tweetId

The identifier of the Tweet for which to return results.

count

Specifies the maximum number of results to include in the response. Specify a count between 1 and 200. A next_cursor value will be provided in the response if additional results are available.

cursor

A string identifying the segment of the current result set to retrieve. Values for this parameter are yielded in the cursors node attached to response objects. Usage of the count parameter affects cursoring.

options

Optional. Custom parameters of this request.