Fix update_message() in our API.

This was regressed in b3df1ddeb1.
This commit is contained in:
Steve Howell
2017-01-25 08:36:20 -08:00
committed by Tim Abbott
parent 8c428dc130
commit eb69791712

View File

@@ -508,7 +508,7 @@ class Client(object):
See api/examples/edit-message for example usage.
'''
return self.call_endpoint(
url='messages',
url='messages/%d' % (message_data['message_id'],),
method='PATCH',
request=message_data,
)