From: Harmon Date: Sun, 21 Feb 2021 04:12:57 +0000 (-0600) Subject: Specify what methods are called in documentation for API.media_upload X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=13b32608f2256b235648123a9fb33d00638721fe;p=tweepy.git Specify what methods are called in documentation for API.media_upload --- diff --git a/docs/api.rst b/docs/api.rst index 3806eb2..8a29e01 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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|