Pytdbot 0.10.0.dev4__tar.gz → 0.10.0.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.10.0.dev4 → pytdbot-0.10.0.dev5}/PKG-INFO +1 -1
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/Pytdbot.egg-info/PKG-INFO +1 -1
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/__init__.py +1 -1
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/client.py +4 -5
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/LICENSE +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/MANIFEST.in +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/Pytdbot.egg-info/SOURCES.txt +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/Pytdbot.egg-info/dependency_links.txt +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/Pytdbot.egg-info/requires.txt +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/Pytdbot.egg-info/top_level.txt +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/README.md +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pyproject.toml +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/client_manager.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/exception/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/filters.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/handlers/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/handlers/decorators.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/handlers/handler.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/handlers/td_updates.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/methods/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/methods/methods.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/methods/td_functions.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/tdjson/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/tdjson/tdjson.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/bound_methods/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/bound_methods/callback_query.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/bound_methods/chatActions.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/bound_methods/file.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/bound_methods/message.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/bound_methods/sender_id.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/plugins/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/td_types.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/tdserver/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/tdserver/schedule.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/types/tdserver/stats.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/__init__.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/albums.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/escape.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/json_utils.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/obj_encoder.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/strings.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/text_format.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/pytdbot/utils/webapps.py +0 -0
- {pytdbot-0.10.0.dev4 → pytdbot-0.10.0.dev5}/setup.cfg +0 -0
|
@@ -716,7 +716,9 @@ class Client(Decorators, Methods):
|
|
|
716
716
|
if self.is_nats:
|
|
717
717
|
await self.__on_update(
|
|
718
718
|
await self.__nc.request(
|
|
719
|
-
self.__requests_subject,
|
|
719
|
+
self.__requests_subject,
|
|
720
|
+
json_dumps(request, encode=True),
|
|
721
|
+
timeout=None,
|
|
720
722
|
)
|
|
721
723
|
)
|
|
722
724
|
else:
|
|
@@ -1197,10 +1199,7 @@ class Client(Decorators, Methods):
|
|
|
1197
1199
|
await self.process_update(obj_to_dict(update))
|
|
1198
1200
|
|
|
1199
1201
|
async def __on_update(self, update):
|
|
1200
|
-
|
|
1201
|
-
await self.process_update(json_loads(update.data))
|
|
1202
|
-
except Exception:
|
|
1203
|
-
self.logger.exception("Failed to process update")
|
|
1202
|
+
self.loop.create_task(self.process_update(json_loads(update.data)))
|
|
1204
1203
|
|
|
1205
1204
|
async def __handle_update_user(self, update: types.UpdateUser):
|
|
1206
1205
|
if self.is_authenticated and self.me and update.user.id == self.me.id:
|
|
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
|
|
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
|