Package blue.starry.penicillin.endpoints.followrequests

Functions

Link copied to clipboard
fun FollowRequests.acceptByScreenName(screenName: String, vararg options: Option): JsonObjectApiAction<User>

Accepts the follow request from specific user.

Link copied to clipboard
fun FollowRequests.acceptByUserId(userId: Long, vararg options: Option): JsonObjectApiAction<User>

Accepts the follow request from specific user.

Link copied to clipboard
fun FollowRequests.incoming(    cursor: Long? = null,     stringifyIds: Boolean? = null,     vararg options: Option): CursorJsonObjectApiAction<CursorIds, Long>

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Link copied to clipboard
fun FollowRequests.outgoing(    cursor: Long? = null,     stringifyIds: Boolean? = null,     vararg options: Option): CursorJsonObjectApiAction<CursorIds, Long>

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Properties

Link copied to clipboard

Shorthand property to FollowRequests.incoming.

Link copied to clipboard

Shorthand property to FollowRequests.outgoing.