public interface SpamReportingResource
Modifier and Type | Method and Description |
---|---|
User |
reportSpam(long userId)
The user specified in the id is blocked by the authenticated user and reported as a spammer.
|
User |
reportSpam(String screenName)
The user specified in the id is blocked by the authenticated user and reported as a spammer.
|
User reportSpam(long userId) throws TwitterException
userId
- The ID of the user you want to report as a spammer.TwitterException
- when Twitter service or network is unavailableUser reportSpam(String screenName) throws TwitterException
screenName
- The screen name of the user you want to report as a spammer.TwitterException
- when Twitter service or network is unavailableCopyright © 2018. All rights reserved.