listUsers

fun Blocks.listUsers(    includeEntities: Boolean? = null,     skipStatus: Boolean? = null,     cursor: Long? = null,     vararg options: Option): CursorJsonObjectApiAction<CursorUsers, User>

Returns a collection of user objects that the authenticating user is blocking.

Important This method is cursored, meaning your app must make multiple requests in order to receive all blocks correctly. See Using cursors to navigate collections for more details on how cursoring works.

Twitter API reference

Receiver

Blocks endpoint instance.

Return

CursorJsonObjectApiAction for CursorUsers model.

Parameters

includeEntities

Optional. The entities node will not be included when set to false.

skipStatus

Optional. When set to either true, t or 1 statuses will not be included in the returned user objects.

cursor

Semi-Optional. Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried. If no cursor is provided, a value of -1 will be assumed, which is the first "page." The response from the API will include a previous_cursor and next_cursor to allow paging back and forth. See Using cursors to navigate collections for more information.

options

Optional. Custom parameters of this request.


val Blocks.listUsers: CursorJsonObjectApiAction<CursorUsers, User>

Shorthand extension property to Blocks.listUsers.

See also