Skip to content

Commit b550326

Browse files
committed
Adding docstring for update webhook
1 parent d7a857f commit b550326

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messagebird/client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@ def conversation_create_webhook(self, webhook_create_request):
270270
self.request(CONVERSATION_WEB_HOOKS_PATH, 'POST', webhook_create_request, CONVERSATION_TYPE))
271271

272272
def conversation_update_webhook(self, id, update_request):
273+
"""
274+
Updates a webhook with the supplied parameters.
275+
276+
API Reference: https://developers.messagebird.com/api/conversations/#webhooks
277+
"""
273278
uri = CONVERSATION_WEB_HOOKS_PATH + '/' + str(id)
274279
web_hook = self.request(uri, 'PATCH', update_request, CONVERSATION_TYPE)
275280
return ConversationWebhook().load(web_hook)

0 commit comments

Comments
 (0)