projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee155d
)
Remove unnecessary allowed_param argument in API._send_direct_message
author
Harmon
<Harmon758@gmail.com>
Sun, 10 Jan 2021 02:08:34 +0000
(20:08 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sun, 10 Jan 2021 02:08:34 +0000
(20:08 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 8ef7225e65c4fe177b34214408d567729bd04b28..6d61da4d78e78806a33085a7413cd2218906fa68 100644
(file)
--- 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
)