Module | Twitter::REST::SpamReporting |
In: |
lib/twitter/rest/spam_reporting.rb
|
The users specified are blocked by the authenticated user and reported as spammers
@see dev.twitter.com/rest/reference/post/users/report_spam @rate_limited Yes @authentication Requires user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. @return [Array<Twitter::User>] The reported users. @overload report_spam(*users)
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
@overload report_spam(*users, options)
@param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects. @param options [Hash] A customizable set of options.