Follow Requests
Collection of api endpoints related to follow requests.
See also
Parameters
client
Current ApiClient instance.
Constructors
Link copied to clipboard
Creates new FollowRequests endpoint instance.
Properties
Extensions
Link copied to clipboard
fun FollowRequests.acceptByScreenName(screenName: String, vararg options: Option): JsonObjectApiAction<User>
Content copied to clipboard
Accepts the follow request from specific user.
Link copied to clipboard
fun FollowRequests.acceptByUserId(userId: Long, vararg options: Option): JsonObjectApiAction<User>
Content copied to clipboard
Accepts the follow request from specific user.
Link copied to clipboard
Shorthand property to FollowRequests.incoming.
fun FollowRequests.incoming( cursor: Long? = null, stringifyIds: Boolean? = null, vararg options: Option): CursorJsonObjectApiAction<CursorIds, Long>
Content copied to clipboard
Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.
Link copied to clipboard
Shorthand property to FollowRequests.outgoing.
fun FollowRequests.outgoing( cursor: Long? = null, stringifyIds: Boolean? = null, vararg options: Option): CursorJsonObjectApiAction<CursorIds, Long>
Content copied to clipboard
Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.