public interface SpamReportingMethodsAsync
Modifier and Type | Method and Description |
---|---|
void |
reportSpam(int userId)
The user specified in the id is blocked by the authenticated user and reported as a spammer.
|
void |
reportSpam(java.lang.String screenName)
The user specified in the id is blocked by the authenticated user and reported as a spammer.
|
void reportSpam(int userId) throws TwitterException
userId
- The ID of the user you want to report as a spammer.TwitterException
- when Twitter service or network is unavailablevoid reportSpam(java.lang.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 unavailable