Fix update_message() in our API.
This was regressed in b3df1ddeb1bbf67695a673278ae3c4a3e7c9ae99.
This commit is contained in:
parent
722fc56534
commit
39becef8c0
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue