diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 6380a62..8fa1dc3 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -824,7 +824,7 @@ class Client(object): ''' Example usage: - >>> client.add_emoji_reaction({ + >>> client.add_reaction({ 'message_id': '100', 'emoji_name': 'joy', 'emoji_code': '1f602', @@ -835,6 +835,7 @@ class Client(object): return self.call_endpoint( url='messages/{}/reactions'.format(reaction_data['message_id']), method='POST', + request=reaction_data, ) def remove_reaction(self, reaction_data):