Skip to content

Commit e0fdcc7

Browse files
committed
Fix send_reaction
Fixes #1086
1 parent 1a10750 commit e0fdcc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/methods/messages/send_reaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def send_reaction(
6363
raw.functions.messages.SendReaction(
6464
peer=await self.resolve_peer(chat_id),
6565
msg_id=message_id,
66-
reaction=emoji,
66+
reaction=[raw.types.ReactionEmoji(emoticon=emoji)] if emoji else None,
6767
big=big
6868
)
6969
)

0 commit comments

Comments
 (0)