showByUserId

fun Users.showByUserId(    userId: Long,     includeEntities: Boolean? = null,     vararg options: Option): JsonObjectApiAction<User>

Returns a variety of information about the user specified by the required user_id or screen_name parameter. The author's most recent Tweet will be returned inline when possible. GET users/lookup is used to retrieve a bulk collection of user objects. You must be following a protected user to be able to see their most recent Tweet. If you don't follow a protected user, the user's Tweet will be removed. A Tweet will not always be returned in the current_status field.

Twitter API reference

Receiver

Users endpoint instance.

Return

JsonObjectApiAction for User model.

Parameters

userId

The ID of the user for whom to return results. Either an id or screen_name is required for this method.

includeEntities

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

options

Optional. Custom parameters of this request.