Skip to content

Commit

Permalink
Update docs for api.report_spam().
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 committed Aug 11, 2018
1 parent 6d8d393 commit 8c30366
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -489,14 +489,15 @@ Block Methods
Spam Reporting Methods
----------------------

.. method:: API.report_spam([id/user_id/screen_name])
.. method:: API.report_spam([id/user_id/screen_name/perform_block])

The user specified in the id is blocked by the authenticated user and
reported as a spammer.

:param id: |uid|
:param screen_name: |screen_name|
:param user_id: |user_id|
:param perform_block: A boolean indicating if the reported account should be blocked. Defaults to True.
:rtype: :class:`User` object


Expand Down

0 comments on commit 8c30366

Please sign in to comment.