Commit e960d0b0 authored by Harry Marr's avatar Harry Marr
Browse files

Added method for direct_messages/show

parent 4cbf968f
......@@ -212,6 +212,14 @@ class API(object):
require_auth = True
)
""" direct_messages/show """
get_direct_message = bind_api(
path = '/direct_messages/show/{id}.json',
payload_type = 'direct_message',
allowed_param = ['id'],
require_auth = True
)
""" direct_messages/sent """
sent_direct_messages = bind_api(
path = '/direct_messages/sent.json',
......
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