From e0fdcc7f3a33bac9e501a5922a55ef2871bf0c17 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 5 Sep 2022 18:18:42 +0200 Subject: [PATCH] Fix send_reaction Fixes #1086 --- pyrogram/methods/messages/send_reaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/send_reaction.py b/pyrogram/methods/messages/send_reaction.py index 1ede4ead..b1e6540b 100644 --- a/pyrogram/methods/messages/send_reaction.py +++ b/pyrogram/methods/messages/send_reaction.py @@ -63,7 +63,7 @@ class SendReaction: raw.functions.messages.SendReaction( peer=await self.resolve_peer(chat_id), msg_id=message_id, - reaction=emoji, + reaction=[raw.types.ReactionEmoji(emoticon=emoji)] if emoji else None, big=big ) )