From 1fa757b3ecb7acd5954265442a7b41d45f438854 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 9 Jan 2021 20:08:34 -0600 Subject: [PATCH] Remove unnecessary allowed_param argument in API._send_direct_message --- tweepy/api.py | 2 -- 1 file changed, 2 deletions(-) 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 ) -- 2.25.1