From: Harmon Date: Sun, 10 Jan 2021 02:08:34 +0000 (-0600) Subject: Remove unnecessary allowed_param argument in API._send_direct_message X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1fa757b3ecb7acd5954265442a7b41d45f438854;p=tweepy.git Remove unnecessary allowed_param argument in API._send_direct_message --- diff --git a/tweepy/api.py b/tweepy/api.py index 8ef7225..6d61da4 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -476,8 +476,6 @@ class API: path='/direct_messages/events/new.json', method='POST', payload_type='direct_message', - allowed_param=['recipient_id', 'text', 'quick_reply_type', - 'attachment_type', 'attachment_media_id'], require_auth=True )