From: Harmon Date: Thu, 27 May 2021 11:40:46 +0000 (-0500) Subject: Update and improve documentation for API.create_mute X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8681a1882c0e77da1cac295cc929ffa045b1f900;p=tweepy.git Update and improve documentation for API.create_mute --- diff --git a/tweepy/api.py b/tweepy/api.py index 4eb5c35..816f7b9 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -3070,12 +3070,20 @@ class API: Mutes the user specified in the ID parameter for the authenticating user. - :param screen_name: |screen_name| - :param user_id: |user_id| + Parameters + ---------- + screen_name + |screen_name| + user_id + |user_id| - :rtype: :class:`User` object + Returns + ------- + :class:`~tweepy.models.User` - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-create + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-create """ return self.request( 'POST', 'mutes/users/create', endpoint_parameters=(