From 4c724e3ce6e7e1237f514618f3ac9a1911366bb9 Mon Sep 17 00:00:00 2001 From: codeRulc Date: Tue, 22 Oct 2019 00:43:59 +0200 Subject: [PATCH] Allow impersonating a user :) --- drift/conversations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drift/conversations.py b/drift/conversations.py index f2014b6..5970dc8 100644 --- a/drift/conversations.py +++ b/drift/conversations.py @@ -64,5 +64,5 @@ def _normalize_message_keys(self, **kwargs): Note: Also drops unknown keys. """ - allowed_keys = ['edited_message_id', 'edit_type', 'body', 'buttons'] + allowed_keys = ['edited_message_id', 'edit_type', 'body', 'buttons', 'userId'] return normalize_keys(allowed_keys, kwargs)