Commit fdb8c691 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Allow API.send_direct_message() to accept either user/screen_name/user_id

parent 6f25df17
......@@ -21,6 +21,7 @@ during upgrade will be listed here.
+ API
- retweet() method now works correctly
- Added local trends method: trends_available() and trends_location()
- send_direct_message() now accepts either a user/screen_name/user_id for recipient of DM
+ tweepy.debug() enables httplib debug mode
+ New Sphinx documentation (Thanks Kumar!) in doc/
......
......@@ -188,7 +188,7 @@ class API(object):
path = '/direct_messages/new.json',
method = 'POST',
parser = parse_dm,
allowed_param = ['user', 'text'],
allowed_param = ['user', 'screen_name', 'user_id', 'text'],
require_auth = True
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment