Skip to content

Commit 27c9338

Browse files
Fix Message.react() (pyrogram#965)
1 parent f9d4232 commit 27c9338

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyrogram/types/messages_and_media/message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3319,7 +3319,7 @@ async def react(self, emoji: str = "") -> bool:
33193319
33203320
await client.send_reaction(
33213321
chat_id=chat_id,
3322-
message_id=message.message_id,
3322+
message_id=message.id,
33233323
emoji="🔥"
33243324
)
33253325
@@ -3342,7 +3342,7 @@ async def react(self, emoji: str = "") -> bool:
33423342

33433343
return await self._client.send_reaction(
33443344
chat_id=self.chat.id,
3345-
message_id=self.message_id,
3345+
message_id=self.id,
33463346
emoji=emoji
33473347
)
33483348

0 commit comments

Comments
 (0)