2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Fix send_reaction

Fixes #1086
This commit is contained in:
Dan 2022-09-05 18:18:42 +02:00
parent 1a1075090d
commit e0fdcc7f3a

View File

@ -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
)
)