mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-15 02:22:22 +03:00
fwbauy
This commit is contained in:
parent
6d30b9f053
commit
1d5ed61aeb
|
@ -764,9 +764,11 @@ async def send_reaction(
|
|||
)
|
||||
result = await self(request)
|
||||
for update in result.updates:
|
||||
if isinstance(update, _tl.UpdateMessageReactions):
|
||||
return update.reactions
|
||||
return reaction
|
||||
if (
|
||||
isinstance(update, _tl.UpdateMessageReactions) or
|
||||
isinstance(update, _tl.UpdateEditMessage)
|
||||
):
|
||||
return update.reactions
|
||||
|
||||
async def set_quick_reaction(
|
||||
self: 'TelegramClient',
|
||||
|
|
Loading…
Reference in New Issue
Block a user