pyrogram-client 0.0.12.dev0__py3-none-any.whl → 0.0.13.dev0__py3-none-any.whl

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.
@@ -44,7 +44,7 @@ class BaseClient(Client):
44
44
  app = await App[20373304]
45
45
  username, _ = await Username.get_or_create(id=self.uid)
46
46
  bt = self.bot_token and self.bot_token.split(":")[1]
47
- session = await Session.create(id=self.uid, api=app, user=username, is_bot=bt)
47
+ session = await Session.create(id=self.uid, api=app, user=username, is_bot=bt, dc_id=2)
48
48
  self.api_id = app.id
49
49
  self.api_hash = app.hsh
50
50
  # await session.fetch_related("api")
@@ -17,8 +17,8 @@ from pyrogram.raw.types import (
17
17
  )
18
18
  from pyrogram.raw.types.upload import File
19
19
  from pyrogram.types import Message
20
- from xync_schema import models
21
- from xync_schema.enums import FileType
20
+ from xync_db import models
21
+ from xync_db.enums import FileType
22
22
 
23
23
  from pyro_client.client.bot import BotClient
24
24
 
@@ -14,8 +14,8 @@ from pyrogram.types import (
14
14
  InlineKeyboardButton,
15
15
  InlineKeyboardMarkup,
16
16
  )
17
- from xync_schema import models
18
- from xync_schema.enums import SynonymType, Party, Slip, AbuserType, NameType
17
+ from xync_db import models
18
+ from xync_db.enums import SynonymType, Party, Slip, AbuserType, NameType
19
19
 
20
20
  from pyro_client.client.file import FileClient
21
21
 
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrogram-client
3
- Version: 0.0.12.dev0
3
+ Version: 0.0.13.dev0
4
4
  Author-email: Mike Artemiev <mixartemev@gmail.com>
5
5
  Project-URL: Homepage, https://gitlab.com/XyncNet/pyro-client
6
6
  Project-URL: Repository, https://gitlab.com/XyncNet/pyro-client
7
7
  Requires-Python: >=3.11
8
- Requires-Dist: kurigram
8
+ Requires-Dist: xn-pyrogram>=2.2.23
9
9
  Requires-Dist: tgcrypto
10
10
  Requires-Dist: xn-auth
11
11
  Provides-Extra: dev
@@ -0,0 +1,14 @@
1
+ pyro_client/loader.py,sha256=X7A1cy6Iscw7PsEoRmmmaUBFOMO4OImIYxgtQEUyVIk,526
2
+ pyro_client/storage.py,sha256=E3pPeveeK9xYOtq398fibZexOAHqGPOlpvkq7PP0Zpc,5887
3
+ pyro_client/client/base.py,sha256=TgitlZUwld8xQif_zQmIp4lFB81qnrOddvtNMLUWNeM,4091
4
+ pyro_client/client/bot.py,sha256=JNSXO_7DnG9bypqjYcnt8kOIN5870bVUsxeaLPJfPHA,1353
5
+ pyro_client/client/dc.json,sha256=uoRznbTmpLLVNdb0CFbNZIbKtOSSUD-TOc-c0kX207U,2091
6
+ pyro_client/client/file.py,sha256=LHkzGcb8LDOrnvoNiUrOg7yJ5vOCPk8CJ0H_XEyedz8,3500
7
+ pyro_client/client/filler.py,sha256=0c-FvQJfaWwFyMEeNaEu4SHf7vsd1C-AyCNZLt6DX0I,6403
8
+ pyro_client/client/user.py,sha256=ue6MmOOpUAHL5ELnLNvwdMdaKNkW8B1-ua9Bmygqkkw,7408
9
+ pyrogram_client-0.0.13.dev0.dist-info/METADATA,sha256=LCtgH3IvS-eK9D8Y6ZnGbMLhcJ5sYIIZREprP3oQEDo,575
10
+ pyrogram_client-0.0.13.dev0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
11
+ pyrogram_client-0.0.13.dev0.dist-info/scm_file_list.json,sha256=QnhhbEyTX-MRT4tsx4ISDub_xcDGaekzSdnOjGOqHQU,390
12
+ pyrogram_client-0.0.13.dev0.dist-info/scm_version.json,sha256=BBFB1wEv-fT5VgYQWpgLEFqOt0JzzFxpHsrh5X5-0Ks,160
13
+ pyrogram_client-0.0.13.dev0.dist-info/top_level.txt,sha256=pR3onX0Aots7ODOSrd8dssJg3J2kz36Crt_48QSwyi0,12
14
+ pyrogram_client-0.0.13.dev0.dist-info/RECORD,,
@@ -0,0 +1,17 @@
1
+ {
2
+ "files": [
3
+ ".env.sample",
4
+ ".pre-commit-config.yaml",
5
+ "makefile",
6
+ "pyproject.toml",
7
+ ".gitignore",
8
+ "pyro_client/loader.py",
9
+ "pyro_client/storage.py",
10
+ "pyro_client/client/dc.json",
11
+ "pyro_client/client/user.py",
12
+ "pyro_client/client/file.py",
13
+ "pyro_client/client/bot.py",
14
+ "pyro_client/client/filler.py",
15
+ "pyro_client/client/base.py"
16
+ ]
17
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.0.12",
3
+ "distance": 0,
4
+ "node": "g87a7de98047245c8ce86245dbe63fd4a1b496378",
5
+ "dirty": true,
6
+ "branch": "main",
7
+ "node_date": "2026-06-23"
8
+ }
@@ -1,12 +0,0 @@
1
- pyro_client/loader.py,sha256=X7A1cy6Iscw7PsEoRmmmaUBFOMO4OImIYxgtQEUyVIk,526
2
- pyro_client/storage.py,sha256=E3pPeveeK9xYOtq398fibZexOAHqGPOlpvkq7PP0Zpc,5887
3
- pyro_client/client/base.py,sha256=3VkKO82HL8-8cgPXQJC_tZkCeXSzz8VI-RsKac0AjcE,4082
4
- pyro_client/client/bot.py,sha256=JNSXO_7DnG9bypqjYcnt8kOIN5870bVUsxeaLPJfPHA,1353
5
- pyro_client/client/dc.json,sha256=uoRznbTmpLLVNdb0CFbNZIbKtOSSUD-TOc-c0kX207U,2091
6
- pyro_client/client/file.py,sha256=kaZXhBQ7wIuzgrympf83CMWqL98mL3tdm-J1zX5kDio,3508
7
- pyro_client/client/filler.py,sha256=CQwpsxlhYybJgxlEfUDtCFUhSCrQQehwyG6R2wS9IsY,6411
8
- pyro_client/client/user.py,sha256=ue6MmOOpUAHL5ELnLNvwdMdaKNkW8B1-ua9Bmygqkkw,7408
9
- pyrogram_client-0.0.12.dev0.dist-info/METADATA,sha256=AbkCeTCSEhywwRNEXvC62of_q2xAjFESO8GM6G9sLmI,564
10
- pyrogram_client-0.0.12.dev0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
11
- pyrogram_client-0.0.12.dev0.dist-info/top_level.txt,sha256=pR3onX0Aots7ODOSrd8dssJg3J2kz36Crt_48QSwyi0,12
12
- pyrogram_client-0.0.12.dev0.dist-info/RECORD,,