Pytdbot 0.9.2.dev3__tar.gz → 0.9.2.dev5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/PKG-INFO +1 -1
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/Pytdbot.egg-info/PKG-INFO +1 -1
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/__init__.py +1 -1
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/client.py +1 -1
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/client_manager.py +2 -2
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/LICENSE +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/MANIFEST.in +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/Pytdbot.egg-info/SOURCES.txt +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/Pytdbot.egg-info/dependency_links.txt +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/Pytdbot.egg-info/requires.txt +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/Pytdbot.egg-info/top_level.txt +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/README.md +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/exception/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/filters.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/handlers/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/handlers/decorators.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/handlers/handler.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/handlers/td_updates.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/methods/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/methods/methods.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/methods/td_functions.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/tdjson/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/tdjson/tdjson.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/plugins/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/bound_methods/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/bound_methods/callback_query.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/bound_methods/chatActions.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/bound_methods/file.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/bound_methods/message.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/types.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/__init__.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/asyncio_utils.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/escape.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/json_utils.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/obj_encoder.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/strings.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/text_format.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/utils/webapps.py +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/requirements.txt +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/setup.cfg +0 -0
- {pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/setup.py +0 -0
|
@@ -950,7 +950,7 @@ class Client(Decorators, Methods):
|
|
|
950
950
|
self.loop.create_task(self.__handle_rabbitmq_message(update))
|
|
951
951
|
|
|
952
952
|
async def __handle_update_user(self, update: types.UpdateUser):
|
|
953
|
-
if self.is_authenticated and update.user.id == self.me.id:
|
|
953
|
+
if self.is_authenticated and self.me and update.user.id == self.me.id:
|
|
954
954
|
self.logger.info(
|
|
955
955
|
f"Updating {self.me.first_name} "
|
|
956
956
|
f"({str(self.me.id) if not self.me.usernames else '@' + self.me.usernames.editable_username}) info"
|
|
@@ -14,7 +14,7 @@ class ClientManager:
|
|
|
14
14
|
|
|
15
15
|
def __init__(
|
|
16
16
|
self,
|
|
17
|
-
clients: List[pytdbot.Client] = None,
|
|
17
|
+
clients: List["pytdbot.Client"] = None,
|
|
18
18
|
lib_path: str = None,
|
|
19
19
|
verbosity: int = 2,
|
|
20
20
|
loop: asyncio.AbstractEventLoop = None,
|
|
@@ -79,7 +79,7 @@ class ClientManager:
|
|
|
79
79
|
self.__pending_clients = None
|
|
80
80
|
|
|
81
81
|
async def add_client(
|
|
82
|
-
self, client: pytdbot.Client, start_client: bool = False
|
|
82
|
+
self, client: "pytdbot.Client", start_client: bool = False
|
|
83
83
|
) -> None:
|
|
84
84
|
"""Add a client to the manager
|
|
85
85
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/bound_methods/callback_query.py
RENAMED
|
File without changes
|
{pytdbot-0.9.2.dev3 → pytdbot-0.9.2.dev5}/pytdbot/types/td_types/bound_methods/chatActions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|