From c8f607ce299508ad231777d67ad19dc444202ce8 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 12 Jan 2021 12:22:42 -0600 Subject: [PATCH] Handle additional_owners parameter in API.chunked_upload_init --- tweepy/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tweepy/api.py b/tweepy/api.py index 1a997d8..cebb3ed 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -326,6 +326,8 @@ class API: 'media_type': media_type, 'media_category': media_category } + if additional_owners is not None: + post_data["additional_owners"] = list_to_csv(additional_owners) return bind_api( api=self, path='/media/upload.json', -- 2.25.1