From 13b32608f2256b235648123a9fb33d00638721fe Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 20 Feb 2021 22:12:57 -0600 Subject: [PATCH] Specify what methods are called in documentation for API.media_upload --- docs/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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| -- 2.25.1