diff --git a/telethon/requestiter.py b/telethon/requestiter.py index af632389..ca9c8d72 100644 --- a/telethon/requestiter.py +++ b/telethon/requestiter.py @@ -106,6 +106,7 @@ class RequestIter(abc.ABC): async for message in self: result.append(message) + result.total = self.total return result @abc.abstractmethod