Specify what methods are called in documentation for API.media_upload
authorHarmon <Harmon758@gmail.com>
Sun, 21 Feb 2021 04:12:57 +0000 (22:12 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 21 Feb 2021 04:16:54 +0000 (22:16 -0600)
docs/api.rst

index 3806eb2d8326e849fa8ca9a06f1a619fa9c8522d..8a29e013905c724d4845f5916dbc720e8448e0c7 100644 (file)
@@ -1321,8 +1321,9 @@ Media methods
 .. method:: API.media_upload(filename, [file], [chunked], [media_category], \
                              [additional_owners])
 
-   Use this endpoint to upload images to Twitter.
+   Use this to upload images to Twitter.
    This automatically uses the chunked upload endpoints for videos.
+   This calls either :func:`API.simple_upload` or :func:`API.chunked_upload`.
 
    :param filename: |filename|
    :param file: |file|