report Spam By User Id
fun Users.reportSpamByUserId( userId: Long, performBlock: Boolean? = null, vararg options: Option): JsonObjectApiAction<User>
Content copied to clipboard
Report the specified user as a spam account to Twitter. Additionally, optionally performs the equivalent of POST blocks/create on behalf of the authenticated user.
Receiver
Users endpoint instance.
Return
JsonObjectApiAction for User model.
Parameters
user Id
The ID of the user to report as a spammer. Helpful for disambiguating when a valid user ID is also a valid screen name.
perform Block
Whether the account should be blocked by the authenticated user, as well as being reported for spam.
options
Optional. Custom parameters of this request.