mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Add Conversation.wait_event
This commit is contained in:
@@ -283,6 +283,9 @@ class UpdateMethods(UserMethods):
|
||||
if built[events.MessageRead]:
|
||||
conv._on_read(built[events.MessageRead])
|
||||
|
||||
if conv._custom:
|
||||
await conv._check_custom(built, update)
|
||||
|
||||
for builder, callback in self._event_builders:
|
||||
event = built[type(builder)]
|
||||
if not event or not builder.filter(event):
|
||||
|
Reference in New Issue
Block a user