Fix saving of StringSession

This commit is contained in:
Lonami Exo
2019-05-06 08:55:24 +02:00
parent 7d0efcf50f
commit 744f5f50fe
3 changed files with 18 additions and 9 deletions

View File

@@ -20,6 +20,14 @@ class Session(ABC):
"""
raise NotImplementedError
@property
@abstractmethod
def dc_id(self):
"""
Returns the currently-used data center ID.
"""
raise NotImplementedError
@property
@abstractmethod
def server_address(self):