From: Harmon Date: Thu, 27 May 2021 15:40:21 +0000 (-0500) Subject: Update and improve documentation for API.create_media_metadata X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1aaf0a19f05662a3643cb40537da788960552234;p=tweepy.git Update and improve documentation for API.create_media_metadata --- diff --git a/tweepy/api.py b/tweepy/api.py index 30e25a2..bac2fd0 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -3326,10 +3326,16 @@ class API: images and GIFs. Call this endpoint to attach additional metadata such as image alt text. - :param media_id: The ID of the media to add alt text to. - :param alt_text: The alt text to add to the image. + Parameters + ---------- + media_id + The ID of the media to add alt text to. + alt_text + The alt text to add to the image. - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/post-media-metadata-create + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/post-media-metadata-create """ json_payload = { 'media_id': media_id,