Update docs for api.report_spam().
authorTAKAHASHI Shuuji <shuuji3@gmail.com>
Sat, 11 Aug 2018 08:28:45 +0000 (17:28 +0900)
committerTAKAHASHI Shuuji <shuuji3@gmail.com>
Sat, 11 Aug 2018 08:28:45 +0000 (17:28 +0900)
docs/api.rst

index de4de89431b48c08788ebd664059d47ba3e6e4b0..e355f266bb589bbfbc786f0d0542d1488e500a9d 100644 (file)
@@ -489,7 +489,7 @@ 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.
@@ -497,6 +497,7 @@ Spam Reporting Methods
    :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