mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Support iterating over specific drafts more easily
This commit is contained in:
@@ -87,7 +87,7 @@ class Dialog:
|
||||
self.unread_count = dialog.unread_count
|
||||
self.unread_mentions_count = dialog.unread_mentions_count
|
||||
|
||||
self.draft = Draft._from_dialog(client, self)
|
||||
self.draft = Draft(client, self.entity, self.dialog.draft)
|
||||
|
||||
self.is_user = isinstance(self.entity, types.User)
|
||||
self.is_group = (
|
||||
|
Reference in New Issue
Block a user