mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-11 08:44:50 +00:00
Fix Message.react() (#965)
This commit is contained in:
parent
f9d42320a7
commit
27c9338970
1 changed files with 2 additions and 2 deletions
|
|
@ -3319,7 +3319,7 @@ class Message(Object, Update):
|
||||||
|
|
||||||
await client.send_reaction(
|
await client.send_reaction(
|
||||||
chat_id=chat_id,
|
chat_id=chat_id,
|
||||||
message_id=message.message_id,
|
message_id=message.id,
|
||||||
emoji="🔥"
|
emoji="🔥"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -3342,7 +3342,7 @@ class Message(Object, Update):
|
||||||
|
|
||||||
return await self._client.send_reaction(
|
return await self._client.send_reaction(
|
||||||
chat_id=self.chat.id,
|
chat_id=self.chat.id,
|
||||||
message_id=self.message_id,
|
message_id=self.id,
|
||||||
emoji=emoji
|
emoji=emoji
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue