mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 20:42:32 +00:00
Adapt the rest of the library to layer 119
This commit is contained in:
@@ -76,7 +76,7 @@ async def handler(event):
|
||||
|
||||
# If we sent the message, we are replying to someone,
|
||||
# and we said "save pic" in the message
|
||||
if event.out and event.reply_to_msg_id and 'save pic' in event.raw_text:
|
||||
if event.out and event.is_reply and 'save pic' in event.raw_text:
|
||||
reply_msg = await event.get_reply_message()
|
||||
replied_to_user = await reply_msg.get_input_sender()
|
||||
|
||||
|
Reference in New Issue
Block a user