From 5ae4de6816fec394ee56d5b42be81e455a964fd1 Mon Sep 17 00:00:00 2001 From: Denis Date: Sat, 19 Jul 2025 16:59:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20@property=20.me=20(=D0=BF=D1=80=D0=B8=D1=81=D0=B2?= =?UTF-8?q?=D0=B0=D0=B8=D0=B2=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B5=20=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maxapi/bot.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maxapi/bot.py b/maxapi/bot.py index 6bac192..fe53325 100644 --- a/maxapi/bot.py +++ b/maxapi/bot.py @@ -104,6 +104,12 @@ class Bot(BaseConnection): self.notify = notify self.auto_requests = auto_requests + self._me: User = None + + @property + def me(self): + return self._me + def _resolve_notify(self, notify: Optional[bool]) -> Optional[bool]: return notify if notify is not None else self.notify